|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HttpMediaType | |
|---|---|
| com.google.api.client.http | Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 . |
| com.google.api.client.http.json | JSON HTTP library based on the pluggable HTTP library. |
| com.google.api.client.http.xml | XML HTTP library based on the pluggable HTTP library. |
| com.google.api.client.http.xml.atom | Atom XML HTTP library based on the pluggable HTTP library. |
| Uses of HttpMediaType in com.google.api.client.http |
|---|
| Methods in com.google.api.client.http that return HttpMediaType | |
|---|---|
HttpMediaType |
AbstractHttpContent.getMediaType()
Returns the media type to use for the Content-Type header, or null if unspecified. |
HttpMediaType |
HttpResponse.getMediaType()
Returns the parsed Content-Type in form of a HttpMediaType or null if no
content-type was set. |
HttpMediaType |
HttpMediaType.removeParameter(String name)
Removes the specified media parameter. |
HttpMediaType |
HttpMediaType.setCharsetParameter(Charset charset)
Sets the charset parameter of the media type. |
HttpMediaType |
HttpMediaType.setParameter(String name,
String value)
Sets the media parameter to the specified value. |
HttpMediaType |
HttpMediaType.setSubType(String subType)
Sets the sub media type, for example "plain" when using "text". |
HttpMediaType |
HttpMediaType.setType(String type)
Sets the (main) media type, for example "text". |
| Methods in com.google.api.client.http with parameters of type HttpMediaType | |
|---|---|
boolean |
HttpMediaType.equalsIgnoreParameters(HttpMediaType mediaType)
Returns true if the specified media type has both the same type and subtype, or
false if they don't match or the media type is null. |
AbstractHttpContent |
AbstractHttpContent.setMediaType(HttpMediaType mediaType)
Sets the media type to use for the Content-Type header, or null if unspecified. |
MultipartRelatedContent |
MultipartRelatedContent.setMediaType(HttpMediaType mediaType)
|
UrlEncodedContent |
UrlEncodedContent.setMediaType(HttpMediaType mediaType)
|
| Constructors in com.google.api.client.http with parameters of type HttpMediaType | |
|---|---|
AbstractHttpContent(HttpMediaType mediaType)
|
|
| Uses of HttpMediaType in com.google.api.client.http.json |
|---|
| Methods in com.google.api.client.http.json with parameters of type HttpMediaType | |
|---|---|
JsonHttpContent |
JsonHttpContent.setMediaType(HttpMediaType mediaType)
|
| Uses of HttpMediaType in com.google.api.client.http.xml |
|---|
| Methods in com.google.api.client.http.xml with parameters of type HttpMediaType | |
|---|---|
AbstractXmlHttpContent |
AbstractXmlHttpContent.setMediaType(HttpMediaType mediaType)
|
XmlHttpContent |
XmlHttpContent.setMediaType(HttpMediaType mediaType)
|
| Uses of HttpMediaType in com.google.api.client.http.xml.atom |
|---|
| Methods in com.google.api.client.http.xml.atom with parameters of type HttpMediaType | |
|---|---|
AtomContent |
AtomContent.setMediaType(HttpMediaType mediaType)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||