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, getRequestVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltRegistry, getExtensionProfile, getQueryParameter, getQueryParameterNamesprotected final ContentType inputType
protected Service.ClientInputProperties(Service.GDataRequest req, java.lang.Class<?> expectType) throws java.io.IOException, ServiceException
java.io.IOExceptionServiceExceptionprotected Service.ClientInputProperties(ContentType inputType, java.lang.Class<?> expectType) throws java.io.IOException, ServiceException
java.io.IOExceptionServiceExceptionpublic ContentType getContentType()
StreamPropertiesgetContentType in interface StreamPropertiespublic java.lang.Class<?> getRootType()
InputPropertiesgetRootType in interface InputPropertiespublic 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 StreamPropertiespublic boolean isPartial()
isPartial in class Service.ClientStreamProperties