protected static class StreamPropertiesBuilder.StreamPropertiesImpl extends java.lang.Object implements StreamProperties
StreamProperties
interface.Modifier | Constructor and Description |
---|---|
protected |
StreamPropertiesBuilder.StreamPropertiesImpl(StreamPropertiesBuilder<?> builder)
Constructs a new StreamPropertiesImpl instance from the values contained
in a builder instance.
|
Modifier and Type | Method and Description |
---|---|
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. |
protected StreamPropertiesBuilder.StreamPropertiesImpl(StreamPropertiesBuilder<?> builder)
builder
- build instance.public AltRegistry getAltRegistry()
StreamProperties
AltRegistry
that contains the set of supported
representations and the parser/generator configuration for them.getAltRegistry
in interface StreamProperties
public ContentType getContentType()
StreamProperties
getContentType
in interface StreamProperties
public ExtensionProfile getExtensionProfile()
StreamProperties
ExtensionProfile
associated with the stream.getExtensionProfile
in interface StreamProperties
null
for requests that use the
data model classes in com.google.gdata.model.public java.util.Collection<java.lang.String> getQueryParameterNames()
StreamProperties
Collection
that contains the name of all query parameters
found in the request.getQueryParameterNames
in interface StreamProperties
public java.lang.String getQueryParameter(java.lang.String name)
StreamProperties
null
if not found.getQueryParameter
in interface StreamProperties
public ElementMetadata<?,?> getRootMetadata()
StreamProperties
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.getRootMetadata
in interface StreamProperties