|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.wireformats.ForwardingStreamProperties
public class ForwardingStreamProperties
A StreamProperties implementation that forwards all
calls to another StreamProperties.
Subclass this and override the methods you want modified
to create a wrapper for StreamProperties.
| Constructor Summary | |
|---|---|
ForwardingStreamProperties(StreamProperties delegate)
|
|
| Method Summary | |
|---|---|
AltRegistry |
getAltRegistry()
Returns the AltRegistry that contains the set of supported
representations and the parser/generator configuration for them. |
ContentType |
getContentType()
Returns the MIME content type of data on the stream. |
ExtensionProfile |
getExtensionProfile()
Returns the ExtensionProfile associated with the stream. |
java.lang.String |
getQueryParameter(java.lang.String name)
Returns the value of a request query parameter by name or null
if not found. |
java.util.Collection<java.lang.String> |
getQueryParameterNames()
Returns a Collection that contains the name of all query parameters
found in the request. |
ElementMetadata<?,?> |
getRootMetadata()
Returns the ElementMetadata for the root object that is being
read from or written to the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingStreamProperties(StreamProperties delegate)
| Method Detail |
|---|
public ContentType getContentType()
StreamProperties
getContentType in interface StreamPropertiespublic java.util.Collection<java.lang.String> getQueryParameterNames()
StreamPropertiesCollection that contains the name of all query parameters
found in the request.
getQueryParameterNames in interface StreamPropertiespublic java.lang.String getQueryParameter(java.lang.String name)
StreamPropertiesnull
if not found.
getQueryParameter in interface StreamPropertiespublic ExtensionProfile getExtensionProfile()
StreamPropertiesExtensionProfile associated with the stream.
getExtensionProfile in interface StreamPropertiesnull for requests that use the
data model classes in com.google.gdata.model.public AltRegistry getAltRegistry()
StreamPropertiesAltRegistry that contains the set of supported
representations and the parser/generator configuration for them.
getAltRegistry in interface StreamPropertiespublic ElementMetadata<?,?> getRootMetadata()
StreamPropertiesElementMetadata 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.
getRootMetadata in interface StreamProperties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||