Package org.n52.shetland.ogc.ows.service
Class OwsServiceResponse
- java.lang.Object
-
- org.n52.shetland.ogc.ows.service.OwsServiceCommunicationObject
-
- org.n52.shetland.ogc.ows.service.OwsServiceResponse
-
- All Implemented Interfaces:
AutoCloseable,HasExtension<OwsServiceResponse>
- Direct Known Subclasses:
AbstractObservationResponse,AbstractOperationResponse,BatchResponse,DeleteResultTemplateResponse,DeleteSensorResponse,DescribeProcessResponse,DescribeSensorResponse,DismissResponse,ExecuteResponse,GetCapabilitiesResponse,GetDataAvailabilityResponse,GetFeatureOfInterestResponse,GetResultResponse,GetResultResponse,GetResultTemplateResponse,GetStatusResponse,InsertFeatureOfInterestResponse,InsertObservationResponse,InsertResultResponse,InsertResultTemplateResponse,InsertSensorResponse,UpdateSensorResponse
public abstract class OwsServiceResponse extends OwsServiceCommunicationObject implements HasExtension<OwsServiceResponse>, AutoCloseable
abstract super class for all service request classes- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description OwsServiceResponse()OwsServiceResponse(String service, String version)OwsServiceResponse(String service, String version, String operationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MediaTypegetContentType()ExtensionsgetExtensions()Get theExtensionsbooleanisSetContentType()OwsServiceResponsesetContentType(MediaType contentType)OwsServiceResponsesetExtensions(Extensions extensions)Set theExtensionsobject-
Methods inherited from class org.n52.shetland.ogc.ows.service.OwsServiceCommunicationObject
getKey, getOperationName, getService, getVersion, hasOperationName, isSetService, isSetVersion, set, setOperationName, setService, setVersion, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.ows.HasExtension
addExtension, addExtension, addExtensions, addSweBooleanExtension, addSweBooleanExtension, addSwesExtension, addSweTextExtension, getBooleanExtension, getBooleanExtension, getBooleanExtension, getBooleanExtension, getExtension, getExtension, getExtensionCount, hasExtension, hasExtension, hasExtensions
-
-
-
-
Method Detail
-
getExtensions
public Extensions getExtensions()
Description copied from interface:HasExtensionGet theExtensions- Specified by:
getExtensionsin interfaceHasExtension<OwsServiceResponse>- Returns:
ExtensionswithExtensions
-
setExtensions
public OwsServiceResponse setExtensions(Extensions extensions)
Description copied from interface:HasExtensionSet theExtensionsobject- Specified by:
setExtensionsin interfaceHasExtension<OwsServiceResponse>- Parameters:
extensions- theExtensionsobject to set- Returns:
- this
-
setContentType
public OwsServiceResponse setContentType(MediaType contentType)
-
getContentType
public MediaType getContentType()
-
isSetContentType
public boolean isSetContentType()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-