public final class ContentType extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_FORM_URLENCODED
It is used when the HTTP request content type is application/x-www-form-urlencoded.
|
static String |
APPLICATION_JSON
It is used when the HTTP request content type is application/json.
|
static String |
APPLICATION_JSON_PATCH
It is used when the HTTP request content type is application/json-patch+json.
|
static String |
APPLICATION_OCTET_STREAM
It is used when the HTTP request content type is application/octet-stream.
|
public static final String APPLICATION_JSON
public static final String APPLICATION_OCTET_STREAM
public static final String APPLICATION_FORM_URLENCODED
public static final String APPLICATION_JSON_PATCH