public class ResourceResponseImpl extends ResponseImpl<ResourceRequest> implements ResourceResponse
ResourceResponse
.Modifier and Type | Field and Description |
---|---|
protected Resource |
resource |
request
Constructor and Description |
---|
ResourceResponseImpl(Resource resource)
Instantiates a new ResourceResponseImpl from the given
Resource . |
ResourceResponseImpl(ResourceRequest request,
Map<String,Serializable> properties,
Resource resource)
|
ResourceResponseImpl(ResourceRequest request,
Resource resource)
Instantiates a new ResourceResponseImpl from the given
ResourceRequest and Resource . |
Modifier and Type | Method and Description |
---|---|
Resource |
getResource() |
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
protected Resource resource
public ResourceResponseImpl(Resource resource)
Resource
.resource
- the resource to create this response frompublic ResourceResponseImpl(ResourceRequest request, Resource resource)
ResourceRequest
and Resource
.request
- - the original request ResourceRequestresource
- - the resource to create this response frompublic ResourceResponseImpl(ResourceRequest request, Map<String,Serializable> properties, Resource resource)
request
- - the original requestproperties
- - the properties associated with this operationresource
- - the resource to create this response frompublic Resource getResource()
getResource
in interface ResourceResponse
This work is licensed under a Creative Commons Attribution 4.0 International License.