Package ddf.catalog.operation.impl
Class ResourceResponseImpl
java.lang.Object
ddf.catalog.operation.impl.OperationImpl
ddf.catalog.operation.impl.ResponseImpl<ddf.catalog.operation.ResourceRequest>
ddf.catalog.operation.impl.ResourceResponseImpl
- All Implemented Interfaces:
ddf.catalog.operation.Operation,ddf.catalog.operation.ResourceResponse,ddf.catalog.operation.Response<ddf.catalog.operation.ResourceRequest>,Serializable
public class ResourceResponseImpl
extends ResponseImpl<ddf.catalog.operation.ResourceRequest>
implements ddf.catalog.operation.ResourceResponse
The ResourceResponseImpl provides a means of providing a
ResourceResponse.- See Also:
-
Field Summary
FieldsFields inherited from class ddf.catalog.operation.impl.ResponseImpl
request -
Constructor Summary
ConstructorsConstructorDescriptionResourceResponseImpl(ddf.catalog.operation.ResourceRequest request, ddf.catalog.resource.Resource resource) Instantiates a new ResourceResponseImpl from the givenResourceRequestandResource.ResourceResponseImpl(ddf.catalog.operation.ResourceRequest request, Map<String, Serializable> properties, ddf.catalog.resource.Resource resource) ResourceResponseImpl(ddf.catalog.resource.Resource resource) Instantiates a new ResourceResponseImpl from the givenResource. -
Method Summary
Methods inherited from class ddf.catalog.operation.impl.ResponseImpl
getRequestMethods inherited from class ddf.catalog.operation.impl.OperationImpl
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ddf.catalog.operation.Operation
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasPropertiesMethods inherited from interface ddf.catalog.operation.Response
getProcessingErrors, getRequest
-
Field Details
-
resource
protected ddf.catalog.resource.Resource resource
-
-
Constructor Details
-
ResourceResponseImpl
public ResourceResponseImpl(ddf.catalog.resource.Resource resource) Instantiates a new ResourceResponseImpl from the givenResource.- Parameters:
resource- the resource to create this response from
-
ResourceResponseImpl
public ResourceResponseImpl(ddf.catalog.operation.ResourceRequest request, ddf.catalog.resource.Resource resource) Instantiates a new ResourceResponseImpl from the givenResourceRequestandResource.- Parameters:
request- - the original request ResourceRequestresource- - the resource to create this response from
-
ResourceResponseImpl
public ResourceResponseImpl(ddf.catalog.operation.ResourceRequest request, Map<String, Serializable> properties, ddf.catalog.resource.Resource resource) - Parameters:
request- - the original requestproperties- - the properties associated with this operationresource- - the resource to create this response from
-
-
Method Details
-
getResource
public ddf.catalog.resource.Resource getResource()- Specified by:
getResourcein interfaceddf.catalog.operation.ResourceResponse
-