contentType

fun contentType(contentType: String): T(source)

Requires the part content type to equal contentType.

Return

This builder instance.

Parameters

contentType

Expected content type, such as image/png.