public class GenericServiceOperator extends java.lang.Object implements ServiceOperator
RequestOperator.| Constructor and Description |
|---|
GenericServiceOperator(java.lang.String service,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
OwsServiceKey |
getKey()
Gets the
ServiceOperatorKey for this service. |
java.util.Set<OwsServiceKey> |
getKeys() |
int |
hashCode() |
OwsServiceResponse |
receiveRequest(OwsServiceRequest request)
method handles the incoming operation request and returns a matching
response or an ServiceExceptionReport if the service was not able to build a
response
|
void |
setRequestOperatorRepository(RequestOperatorRepository repo)
Sets the
RequestOperatorRepository to get matching
RequestOperators. |
java.lang.String |
toString() |
public GenericServiceOperator(java.lang.String service,
java.lang.String version)
public OwsServiceKey getKey()
ServiceOperatorKey for this service.@Inject public void setRequestOperatorRepository(RequestOperatorRepository repo)
RequestOperatorRepository to get matching
RequestOperators.repo - the repositorypublic java.util.Set<OwsServiceKey> getKeys()
getKeys in interface Keyed<OwsServiceKey>public OwsServiceResponse receiveRequest(OwsServiceRequest request) throws OwsExceptionReport
receiveRequest in interface ServiceOperatorrequest - the operation requestOperationNotSupportedException - if no matching
RequestOperator could be
found or if the operator returned
a null-response.OwsExceptionReport - If an error occurred or the requested
operation is not supportedpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.