protected class Service.ClientInputProperties extends Service.ClientStreamProperties implements InputProperties
InputProperties
interface for content to be read from the target
service based upon its attributes and a Service.GDataRequest
.Modifier and Type | Field and Description |
---|---|
protected ContentType |
inputType |
queryMap, req
Modifier | Constructor and Description |
---|---|
protected |
Service.ClientInputProperties(ContentType inputType,
java.lang.Class<?> expectType) |
protected |
Service.ClientInputProperties(Service.GDataRequest req,
java.lang.Class<?> expectType) |
Modifier and Type | Method and Description |
---|---|
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. |
java.lang.Class<?> |
getRootType()
Returns the expected root type that will be produced as a result of parsing
the content.
|
boolean |
isPartial() |
getAltFormat, getAltRegistry, getExtensionProfile, getGDataRequest, getMetadataContext, getParameterMap, getQueryParameter, getQueryParameterNames, getRequestVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltRegistry, getExtensionProfile, getQueryParameter, getQueryParameterNames
protected final ContentType inputType
protected Service.ClientInputProperties(Service.GDataRequest req, java.lang.Class<?> expectType) throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
protected Service.ClientInputProperties(ContentType inputType, java.lang.Class<?> expectType) throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public ContentType getContentType()
StreamProperties
getContentType
in interface StreamProperties
public java.lang.Class<?> getRootType()
InputProperties
getRootType
in interface InputProperties
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
public boolean isPartial()
isPartial
in class Service.ClientStreamProperties