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
|
getRequest
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProcessingErrors, getRequest
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties
public 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()
ReadStorageResponse
ContentItem
representing a file associated with a Metacard, or null
if absent.getContentItem
in interface ReadStorageResponse
ContentItem
public StorageRequest getStorageRequest()
StorageResponse
getStorageRequest
in interface StorageResponse<ReadStorageRequest>
This work is licensed under a Creative Commons Attribution 4.0 International License.