Google Data APIs Client Library (1.41.1)
Class Service.ClientOutputProperties

  extended by
      extended by
All Implemented Interfaces:,
Enclosing class:

public class Service.ClientOutputProperties
extends Service.ClientStreamProperties

The ClientOutputProperties class is an adaptor class that implements the OutputProperties interface for content to be written to the target service based upon its attributes and a Service.GDataRequest.

Field Summary
protected  ContentType requestType
Fields inherited from class
queryMap, req
Constructor Summary
Service.ClientOutputProperties(ContentType requestType, java.lang.Object source)
Service.ClientOutputProperties(Service.GDataRequest req, java.lang.Object source)
Method Summary
 java.lang.String getCallback()
 ContentType getContentType()
          Returns the MIME content type of data on the stream.<?,?> getRootMetadata()
          Returns the ElementMetadata for the root object that is being read from or written to the stream.
Methods inherited from class
getAltFormat, getAltRegistry, getExtensionProfile, getGDataRequest, getMetadataContext, getParameterMap, getQueryParameter, getQueryParameterNames, getRequestVersion, isPartial
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface
getAltRegistry, getExtensionProfile, getQueryParameter, getQueryParameterNames

Field Detail


protected final ContentType requestType
Constructor Detail


public Service.ClientOutputProperties(Service.GDataRequest req,
                                      java.lang.Object source)


public Service.ClientOutputProperties(ContentType requestType,
                                      java.lang.Object source)
Method Detail


public ContentType getContentType()
Description copied from interface:
Returns the MIME content type of data on the stream.

Specified by:
getContentType in interface
data content type


public<?,?> getRootMetadata()
Description copied from interface:
Returns the ElementMetadata for the root object that is being read from or written to the stream. This metadata will already be bound to the appropriate MetadataContext for the currently executing request.

Specified by:
getRootMetadata in interface


public java.lang.String getCallback()