| Modifier and Type | Field and Description |
|---|---|
protected ContentType |
Service.ClientInputProperties.inputType |
protected ContentType |
Service.ClientOutputProperties.requestType |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
Service.getContentType()
Returns the default ContentType for data associated with this GData
service.
|
ContentType |
Service.ClientInputProperties.getContentType() |
ContentType |
Service.ClientOutputProperties.getContentType() |
ContentType |
Service.GDataRequest.getRequestContentType()
Returns the
ContentType of the data that will be written to the
service by this request or null if no data is written to the
server by the request. |
ContentType |
Service.GDataRequest.getResponseContentType()
Returns the content type of the GData response.
|
| Modifier and Type | Method and Description |
|---|---|
protected Service.GDataRequest |
Service.createRequest(Query query,
ContentType inputType)
Creates a new GDataRequest for querying the service.
|
protected Service.GDataRequest |
GoogleService.createRequest(Query query,
ContentType contentType) |
Service.GDataRequest |
Service.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType inputType)
Creates a new GDataRequest for use by the service.
|
Service.GDataRequest |
GoogleService.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
Service.GDataRequest |
Service.GDataRequestFactory.getRequest(Query query,
ContentType contentType)
Creates a new GDataRequest instance for querying a service.
|
Service.GDataRequest |
Service.GDataRequestFactory.getRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType)
Creates a new GDataRequest instance of the specified RequestType.
|
protected <E> E |
Service.parseResponseData(ParseSource source,
ContentType responseType,
Class<E> resultType)
Parses the response stream for a request based upon response content type
and an expected result type.
|
void |
Service.setContentType(ContentType contentType)
Sets the default ContentType for writing data to the GData service.
|
| Constructor and Description |
|---|
Service.ClientInputProperties(ContentType inputType,
Class<?> expectType) |
Service.ClientOutputProperties(ContentType requestType,
Object source) |
| Modifier and Type | Field and Description |
|---|---|
protected ContentType |
HttpGDataRequest.inputType
Contains the content type of the request data
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
HttpGDataRequest.getRequestContentType() |
ContentType |
HttpGDataRequest.getResponseContentType() |
| Modifier and Type | Method and Description |
|---|---|
protected Service.GDataRequest |
HttpGDataRequest.Factory.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType)
Creates a
Service.GDataRequest instance. |
protected Service.GDataRequest |
GoogleGDataRequest.Factory.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
Service.GDataRequest |
HttpGDataRequest.Factory.getRequest(Query query,
ContentType contentType) |
Service.GDataRequest |
HttpGDataRequest.Factory.getRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
| Constructor and Description |
|---|
GoogleGDataRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType,
HttpAuthToken authToken,
Map<String,String> headerMap,
Map<String,String> privateHeaderMap,
HttpUrlConnectionSource connectionSource)
Constructs a new GoogleGDataRequest instance of the specified
RequestType, targeting the specified URL with the specified
authentication token.
|
HttpGDataRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType inputType,
HttpAuthToken authToken,
Map<String,String> headerMap,
Map<String,String> privateHeaderMap,
HttpUrlConnectionSource connectionSource)
Constructs a new HttpGDataRequest instance of the specified RequestType,
targeting the specified URL.
|
| Modifier and Type | Field and Description |
|---|---|
protected ContentType |
OutOfLineContent.mimeType
MIME Content type.
|
protected ContentType |
OtherContent.mimeType
MIME type.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
OutOfLineContent.getMimeType() |
ContentType |
OtherContent.getMimeType() |
ContentType |
IOutOfLineContent.getMimeType()
Returns the MIME content type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OutOfLineContent.setMimeType(ContentType v)
Specifies the MIME Content type.
|
void |
OtherContent.setMimeType(ContentType v)
Specifies the MIME type.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
IBatchStatus.getContentType()
Returns the content type associated with this status element.
|
ContentType |
IBatchInterrupted.getContentType()
Returns the content type of the interrupted element.
|
ContentType |
BatchStatus.getContentType()
Gets mime type for the content of this error.
|
ContentType |
BatchInterrupted.getContentType()
Describe the content of this tag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BatchStatus.setContentType(ContentType contentType)
Sets mime type for the content of this error.
|
void |
BatchInterrupted.setContentType(ContentType contentType)
Sets the content type for this tag.
|
| Modifier and Type | Field and Description |
|---|---|
static ContentType |
FeatureEntry.KML_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
Content.getMimeType() |
| Modifier and Type | Method and Description |
|---|---|
void |
OutOfLineContent.setMimeType(ContentType v)
Specifies the MIME Content type.
|
void |
OtherContent.setMimeType(ContentType v)
Specifies the MIME type.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<ContentType> |
BatchStatus.CONTENT_TYPE
The MIME type for the content of the error message contained in this
element.
|
static AttributeKey<ContentType> |
BatchInterrupted.CONTENT_TYPE
The MIME type of the content of this element.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
BatchStatus.getContentType()
Returns the MIME type for the content of the error message contained in
this element.
|
ContentType |
BatchInterrupted.getContentType()
Returns the MIME type of the content of this element.
|
| Modifier and Type | Method and Description |
|---|---|
BatchStatus |
BatchStatus.setContentType(ContentType contentType)
Sets the MIME type for the content of the error message contained in this
element.
|
BatchInterrupted |
BatchInterrupted.setContentType(ContentType contentType)
Sets the MIME type of the content of this element.
|
| Modifier and Type | Field and Description |
|---|---|
static ContentType |
ContentType.ANY
Wildcard content type that will match any MIME type
|
static ContentType |
ContentType.APPLICATION_XML
A ContentType constant that describes the application/xml content
type.
|
static ContentType |
ContentType.ATOM
A ContentType constant that describes the base unqualified Atom content
type.
|
static ContentType |
ContentType.ATOM_ENTRY
A ContentType constant that describes the qualified Atom entry content
type.
|
static ContentType |
ContentType.ATOM_FEED
A ContentType constant that describes the qualified Atom feed content
type.
|
static ContentType |
ContentType.ATOM_SERVICE
A ContentType constant that describes the Atom Service content type.
|
static ContentType |
ContentType.GDATA_ERROR
A ContentType constant that describes the GData error content type.
|
static ContentType |
ContentType.JAVASCRIPT
A ContentType constant that describes the Javascript content type.
|
static ContentType |
ContentType.JSON
A ContentType constant that describes the JSON content type.
|
static ContentType |
ContentType.MESSAGE_RFC822
A ContentType constant that indicates that the body contains an
encapsulated message, with the syntax of an RFC 822 email message.
|
static ContentType |
ContentType.MULTIPART_RELATED
A ContentType constant that describes the MIME multipart/related content
type.
|
static ContentType |
ContentType.OPENSEARCH
A ContentType constant that describes the OpenSearch description document
|
static ContentType |
ContentType.RSS
A ContentType constant that describes the RSS channel/item content type.
|
static ContentType |
ContentType.TEXT_HTML
A ContentType constant that describes the generic text/html content type.
|
static ContentType |
ContentType.TEXT_PLAIN
A ContentType constant that describes the generic text/plain content type.
|
static ContentType |
ContentType.TEXT_XML
A ContentType constant that describes the generic text/xml content type.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.getAtomEntry()
Returns the ContentType that should be used in contexts that expect
an Atom entry.
|
static ContentType |
ContentType.getAtomFeed()
Returns the ContentType that should be used in contexts that expect
an Atom feed.
|
static ContentType |
ContentType.getBestContentType(String acceptHeader,
List<ContentType> actualContentTypes)
Determines the best "Content-Type" header to use in a servlet response
based on the "Accept" header from a servlet request.
|
ContentType |
ServiceException.getResponseContentType() |
ContentType |
ContentType.lock()
Makes the object immutable and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContentType.match(ContentType acceptedContentType)
Returns whether this content type is match by the content type found in the
"Accept" header field of an HTTP request.
|
void |
ServiceExceptionInitializer.parse(ContentType contentType,
String body) |
void |
ServiceException.setResponse(ContentType contentType,
String body)
Set HTTP response type and body simultaneously.
|
void |
ServiceException.setResponseContentType(ContentType v) |
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.getBestContentType(String acceptHeader,
List<ContentType> actualContentTypes)
Determines the best "Content-Type" header to use in a servlet response
based on the "Accept" header from a servlet request.
|
| Modifier and Type | Field and Description |
|---|---|
protected ContentType |
StreamPropertiesBuilder.contentType |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
StreamPropertiesBuilder.StreamPropertiesImpl.getContentType() |
ContentType |
StreamProperties.getContentType()
Returns the MIME content type of data on the stream.
|
ContentType |
ForwardingStreamProperties.getContentType() |
ContentType |
AltFormat.getContentType()
Returns the primary MIME content type used for the representation.
|
| Modifier and Type | Method and Description |
|---|---|
List<ContentType> |
AltFormat.getMatchingTypes()
Returns a list of all MIME types that will be considered to potentially
match the representation for the purposes of content negotiation.
|
| Modifier and Type | Method and Description |
|---|---|
AltFormat |
AltRegistry.lookupType(ContentType contentType)
Returns the alt format that has been registered with the specified content
type.
|
AltFormat.Builder |
AltFormat.Builder.setAcceptableTypes(ContentType... types)
Declares MIME types to be acceptable matches for the purpose
of content negotiation.
|
T |
StreamPropertiesBuilder.setContentType(ContentType contentType)
Sets the
ContentType property that should be used for instances
created by the builder. |
AltFormat.Builder |
AltFormat.Builder.setContentType(ContentType contentType)
Sets the primary MIME content type used for the representation.
|
| Constructor and Description |
|---|
AltFormat(String name,
WireFormat wireFormat,
ContentType contentType,
List<ContentType> acceptList,
boolean isSelectableByType)
Deprecated.
Please use the
AltFormat.Builder instead. See AltFormat.builder(). |
| Constructor and Description |
|---|
AltFormat(String name,
WireFormat wireFormat,
ContentType contentType,
List<ContentType> acceptList,
boolean isSelectableByType)
Deprecated.
Please use the
AltFormat.Builder instead. See AltFormat.builder(). |
| Modifier and Type | Field and Description |
|---|---|
protected static List<ContentType> |
XmlGenerator.XML_CONTENT_TYPES
The base set of matching content types for XML content.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<ContentType> |
XmlGenerator.createMatchingXmlList(ContentType... types)
Creates a new matching ContentType set that contains all of the basic
XML types plus an additional list of types.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<ContentType> |
XmlGenerator.createMatchingXmlList(ContentType... types)
Creates a new matching ContentType set that contains all of the basic
XML types plus an additional list of types.
|
Copyright © 2012. All Rights Reserved.