Package com.azure.core.http
Class ContentType
java.lang.Object
com.azure.core.http.ContentType
This class provides constants for commonly used Content-Type header values in HTTP requests and responses.
This class is useful when you need to specify the Content-Type header in an HTTP request or check the Content-Type header in an HTTP response.
-
Field Details
-
APPLICATION_JSON
the default JSON Content-Type header.- See Also:
-
APPLICATION_OCTET_STREAM
the default binary Content-Type header.- See Also:
-
APPLICATION_X_WWW_FORM_URLENCODED
The default form data Content-Type header.- See Also:
-