RepresentationContract.contentType Method

Definition

Get the contentType property: Specifies a registered or custom content type for this representation, e.g. application/xml.

public String contentType()

Returns

java.lang.String

the contentType value.

Applies to