@Configurable public class KvpBinding extends SimpleBinding
| Constructor and Description |
|---|
KvpBinding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperationHttpGetSupported(OwsOperationKey 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.
|
java.util.Set<java.lang.String> |
getConformanceClasses(java.lang.String service,
java.lang.String version) |
protected MediaType |
getDefaultContentType() |
java.util.Set<BindingKey> |
getKeys() |
protected boolean |
isUseHttpResponseCodes() |
protected OwsServiceRequest |
parseRequest(javax.servlet.http.HttpServletRequest req) |
void |
setIncludeOriginalRequest(boolean includeOriginalRequest) |
void |
setUseHttpResponseCodes(boolean useHttpResponseCodes) |
checkServiceOperatorKeyTypes, chooseResponseContentType, chooseResponseContentTypeForExceptionReport, encodeOwsExceptionReport, encodeResponse, getDecoder, getDecoderRepository, getEncoder, getEncoderRepository, getEventBus, getHttpUtils, getRequestContext, getServiceOperator, getServiceOperator, getServiceOperatorRepository, handleEncodingException, hasDecoder, hasDecoder, hasEncoder, hasEncoder, hasEncoder, isServiceSupported, isVersionSupported, setDecoderRepository, setEncoderRepository, setEventBus, setHttpUtils, setServiceOperatorRepository, writeOwsExceptionReport, writeResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckOperationHttpDeleteSupported, checkOperationHttpOptionsSupported, checkOperationHttpPostSupported, checkOperationHttpPutSupported, doDeleteOperation, doOptionsOperation, doPostOperation, doPutOperation@Setting(value="misc.httpResponseCodeUseInKvpAndPoxBinding") public void setUseHttpResponseCodes(boolean useHttpResponseCodes)
protected boolean isUseHttpResponseCodes()
isUseHttpResponseCodes in class SimpleBinding@Setting(value="misc.includeOriginalRequest") public void setIncludeOriginalRequest(boolean includeOriginalRequest)
public java.util.Set<BindingKey> getKeys()
public java.util.Set<java.lang.String> getConformanceClasses(java.lang.String service,
java.lang.String version)
protected MediaType getDefaultContentType()
getDefaultContentType in class SimpleBindingpublic void doGetOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws HTTPException,
java.io.IOException
Bindingreq - HTTP GET requestres - HTTP GET responseHTTPException - if the encoding of an exception failedjava.io.IOException - if an IO error occurspublic boolean checkOperationHttpGetSupported(OwsOperationKey k)
Bindingk - identifier of the decoderdecoderKey supports HTTP-Get for operation operationNameprotected OwsServiceRequest parseRequest(javax.servlet.http.HttpServletRequest req) throws OwsExceptionReport
OwsExceptionReportCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.