public class

Service.ClientOutputProperties

extends Service.ClientStreamProperties
implements OutputProperties
java.lang.Object
   ↳ com.google.gdata.client.Service.ClientStreamProperties
     ↳ com.google.gdata.client.Service.ClientOutputProperties

Class Overview

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.

Summary

Fields
private ElementMetadata<?, ?> elementMetadata
protected final ContentType requestType
[Expand]
Inherited Fields
From class com.google.gdata.client.Service.ClientStreamProperties
Public Constructors
Service.ClientOutputProperties(Service.GDataRequest req, Object source)
Service.ClientOutputProperties(ContentType requestType, Object source)
Public Methods
String getCallback()
ContentType getContentType()
Returns the MIME content type of data on the stream.
ElementMetadata<?, ?> getRootMetadata()
Returns the ElementMetadata for the root object that is being read from or written to the stream.
[Expand]
Inherited Methods
From class com.google.gdata.client.Service.ClientStreamProperties
From class java.lang.Object
From interface com.google.gdata.wireformats.StreamProperties

Fields

private ElementMetadata<?, ?> elementMetadata

protected final ContentType requestType

Public Constructors

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

Parameters
req
source

public Service.ClientOutputProperties (ContentType requestType, Object source)

Parameters
requestType
source

Public Methods

public String getCallback ()

public ContentType getContentType ()

Returns the MIME content type of data on the stream.

Returns
  • data content type

public ElementMetadata<?, ?> getRootMetadata ()

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.