public class GenericRequestOperator<Q extends OwsServiceRequest,A extends OwsServiceResponse> extends Object implements RequestOperator
| Constructor and Description |
|---|
GenericRequestOperator(OwsOperationKey operation,
boolean defaultActive,
Class<Q> requestType,
ParameterValidator<Q> validator) |
GenericRequestOperator(OwsOperationKey operation,
Class<Q> requestType,
ParameterValidator<Q> validator) |
GenericRequestOperator(String service,
String version,
String operation,
Class<Q> requestType,
ParameterValidator<Q> validator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSupportedgetConformanceClassespublic GenericRequestOperator(String service, String version, String operation, Class<Q> requestType, ParameterValidator<Q> validator)
public GenericRequestOperator(OwsOperationKey operation, Class<Q> requestType, ParameterValidator<Q> validator)
public GenericRequestOperator(OwsOperationKey operation, boolean defaultActive, Class<Q> requestType, ParameterValidator<Q> validator)
@Inject public void setOperationHandlerRepository(OperationHandlerRepository repo)
public OperationHandlerRepository getOperationHandlerRepository()
@Inject public void setRequestResponseModifierRepository(RequestResponseModifierRepository repo)
public RequestResponseModifierRepository getRequestResponseModifierRepository()
@Inject public void setServiceOperatorRepository(ServiceOperatorRepository repo)
public ServiceOperatorRepository getServiceOperatorRepository()
@Inject public void setEventBus(EventBus eventBus)
public EventBus getEventBus()
public OwsServiceResponse receiveRequest(OwsServiceRequest abstractRequest) throws OwsExceptionReport
RequestOperatorOwsServiceRequest and
returns a OwsServiceResponsereceiveRequest in interface RequestOperatorabstractRequest - The incoming OwsServiceRequestOwsServiceResponse of the
OwsServiceRequestOwsExceptionReport - If an error occurs during the processing of the
OwsServiceRequestprotected GenericOperationHandler<Q,A> getOperationHandler()
protected Optional<GenericOperationHandler<Q,A>> getOptionalOperationHandler()
protected Optional<GenericOperationHandler<Q,A>> getOptionalOperationHandler(String service, String operationName)
public OwsOperation getOperationMetadata(String service, String version) throws OwsExceptionReport
RequestOperatorOwsOperation metadata for service and versiongetOperationMetadata in interface RequestOperatorservice - The service to get metadata forversion - The service version to get metadata forOwsOperation metadata for service and versionOwsExceptionReport - If an error occurs during the generation of
OwsOperationprotected String getOperationName()
public Set<RequestOperatorKey> getKeys()
getKeys in interface Keyed<RequestOperatorKey>protected A receive(Q request) throws OwsExceptionReport
OwsExceptionReportCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.