public class KvpBinding extends SimpleBinding
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static org.slf4j.Logger |
LOGGER |
QUALITY
Constructor and Description |
---|
KvpBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOperationHttpGetSupported(OperationKey k)
Check, if the operation is supported by the decoder by the HTTP-Get
method.
|
void |
doGetOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
HTTP GET request handling method
|
Set<String> |
getConformanceClasses() |
protected MediaType |
getDefaultContentType() |
String |
getRequestParameterValue(Map<String,String> map) |
private String |
getServiceParameterValue(Map<String,String> map) |
Set<MediaType> |
getSupportedEncodings() |
String |
getUrlPattern()
Get URL pattern for the operator.
|
private String |
getVersionParameterValue(Map<String,String> map) |
protected boolean |
isGetCapabilities(Map<String,String> map) |
protected AbstractServiceRequest |
parseRequest(javax.servlet.http.HttpServletRequest req) |
checkServiceOperatorKeyTypes, chooseResponseContentType, chooseResponseContentTypeForExceptionReport, encodeOwsExceptionReport, encodeResponse, getDecoder, getEncoder, getRequestContext, getServiceOperator, getServiceOperator, getServiceOperatorRepository, hasDecoder, hasDecoder, hasEncoder, hasEncoder, hasEncoder, isServiceSupported, isUseHttpResponseCodes, isVersionSupported, writeOwsExceptionReport, writeResponse, writeResponse
checkOperationHttpDeleteSupported, checkOperationHttpOptionsSupported, checkOperationHttpPostSupported, checkOperationHttpPutSupported, doDeleteOperation, doOptionsOperation, doPostOperation, doPutOperation
public String getUrlPattern()
Binding
getUrlPattern
in class Binding
public Set<MediaType> getSupportedEncodings()
getSupportedEncodings
in class Binding
protected MediaType getDefaultContentType()
getDefaultContentType
in class SimpleBinding
public void doGetOperation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws HTTPException, IOException
Binding
doGetOperation
in class Binding
req
- HTTP GET requestres
- HTTP GET responseHTTPException
- if the encoding of an exception failedIOException
- if an IO error occursprivate String getServiceParameterValue(Map<String,String> map) throws OwsExceptionReport
OwsExceptionReport
private String getVersionParameterValue(Map<String,String> map) throws OwsExceptionReport
OwsExceptionReport
public boolean checkOperationHttpGetSupported(OperationKey k)
Binding
checkOperationHttpGetSupported
in class Binding
k
- identifier of the decoderdecoderKey
supports HTTP-Get
for operation operationName
protected boolean isGetCapabilities(Map<String,String> map) throws OwsExceptionReport
OwsExceptionReport
public String getRequestParameterValue(Map<String,String> map) throws OwsExceptionReport
OwsExceptionReport
protected AbstractServiceRequest parseRequest(javax.servlet.http.HttpServletRequest req) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2014 52north.org. All Rights Reserved.