Uses of Class
io.joshworks.restclient.http.MediaType
-
Packages that use MediaType Package Description io.joshworks.restclient.http io.joshworks.restclient.http.mapper io.joshworks.restclient.request -
-
Uses of MediaType in io.joshworks.restclient.http
Fields in io.joshworks.restclient.http declared as MediaType Modifier and Type Field Description static MediaTypeMediaType. APPLICATION_ATOM_XML_TYPE"application/atom+xml"static MediaTypeMediaType. APPLICATION_FORM_URLENCODED_TYPE"application/x-www-form-urlencoded"static MediaTypeMediaType. APPLICATION_JSON_TYPE"application/json"static MediaTypeMediaType. APPLICATION_OCTET_STREAM_TYPE"application/octet-stream"static MediaTypeMediaType. APPLICATION_SVG_XML_TYPE"application/svg+xml"static MediaTypeMediaType. APPLICATION_XHTML_XML_TYPE"application/xhtml+xml"static MediaTypeMediaType. APPLICATION_XML_TYPE"application/xml"static MediaTypeMediaType. MULTIPART_FORM_DATA_TYPE"multipart/form-data"static MediaTypeMediaType. TEXT_HTML_TYPE"text/html"static MediaTypeMediaType. TEXT_PLAIN_TYPE"text/plain"static MediaTypeMediaType. TEXT_XML_TYPE"text/xml"static MediaTypeMediaType. WILDCARD_TYPE"*/*"Methods in io.joshworks.restclient.http that return MediaType Modifier and Type Method Description static MediaTypeMediaType. getMimeForFile(java.lang.String fileExtension)static MediaTypeMediaType. valueOf(java.lang.String type)Creates a new instance of MediaType by parsing the supplied string.Methods in io.joshworks.restclient.http with parameters of type MediaType Modifier and Type Method Description booleanMediaType. isCompatible(MediaType other)Check if this media type is compatible with another media type. -
Uses of MediaType in io.joshworks.restclient.http.mapper
Methods in io.joshworks.restclient.http.mapper with parameters of type MediaType Modifier and Type Method Description static ObjectMapperObjectMappers. getMapper(MediaType type)static voidObjectMappers. register(MediaType mediaType, ObjectMapper mapper) -
Uses of MediaType in io.joshworks.restclient.request
Methods in io.joshworks.restclient.request that return MediaType Modifier and Type Method Description protected MediaTypeHttpRequest. getContentType()Methods in io.joshworks.restclient.request with parameters of type MediaType Modifier and Type Method Description GetRequestGetRequest. contentType(MediaType contentType)HttpRequestHttpRequest. contentType(MediaType contentType)HttpRequestWithBodyHttpRequestWithBody. contentType(MediaType contentType)
-