public class ReadStorageResponseImpl extends ResponseImpl<ReadStorageRequest> implements ReadStorageResponse
request| Constructor and Description |
|---|
ReadStorageResponseImpl(ReadStorageRequest request)
Instantiates an empty, new ResponseImpl
|
ReadStorageResponseImpl(ReadStorageRequest request,
ContentItem contentItem)
Instantiates a new ResponseImpl
|
ReadStorageResponseImpl(ReadStorageRequest request,
Map<String,Serializable> properties)
Instantiates a new ResponseImpl
|
| Modifier and Type | Method and Description |
|---|---|
ContentItem |
getContentItem()
Returns a
ContentItem representing a file associated with a Metacard, or null
if absent. |
StorageRequest |
getStorageRequest()
Returns the ID associated with the request that resulted in this response
|
getRequestcontainsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProcessingErrors, getRequestcontainsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasPropertiespublic ReadStorageResponseImpl(ReadStorageRequest request)
request - the original requestpublic ReadStorageResponseImpl(ReadStorageRequest request, Map<String,Serializable> properties)
request - the original requestproperties - public ReadStorageResponseImpl(ReadStorageRequest request, ContentItem contentItem)
request - the original requestcontentItem - @Nullable public ContentItem getContentItem()
ReadStorageResponseContentItem representing a file associated with a Metacard, or null
if absent.getContentItem in interface ReadStorageResponseContentItempublic StorageRequest getStorageRequest()
StorageResponsegetStorageRequest in interface StorageResponse<ReadStorageRequest>This work is licensed under a Creative Commons Attribution 4.0 International License.