@Configurable public class PoxBinding extends AbstractXmlBinding<OwsServiceRequest>
Binding implementation for POX (XML) encoded requests| Constructor and Description |
|---|
PoxBinding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperationHttpPostSupported(OwsOperationKey k)
Check, if the operation is supported by the decoder by the HTTP-Post method.
|
void |
doPostOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
HTTP POST 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 request) |
void |
setUseHttpResponseCodes(boolean useHttpResponseCodes) |
decode, getDecoderKey, getOperationKey, setDocumentFactory, xmlToStringcheckServiceOperatorKeyTypes, 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, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPutOperation@Setting(value="misc.httpResponseCodeUseInKvpAndPoxBinding") public void setUseHttpResponseCodes(boolean useHttpResponseCodes)
protected boolean isUseHttpResponseCodes()
isUseHttpResponseCodes in class SimpleBindingpublic java.util.Set<BindingKey> getKeys()
public void doPostOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws HTTPException,
java.io.IOException
Bindingreq - HTTP POST requestres - HTTP POST responseHTTPException - if the encoding of an exception failedjava.io.IOException - if an IO error occursprotected OwsServiceRequest parseRequest(javax.servlet.http.HttpServletRequest request) throws OwsExceptionReport
OwsExceptionReportpublic java.util.Set<java.lang.String> getConformanceClasses(java.lang.String service,
java.lang.String version)
public boolean checkOperationHttpPostSupported(OwsOperationKey k)
Bindingk - identifier of the decoderdecoderKey supports HTTP-Post for operation operationNameprotected MediaType getDefaultContentType()
getDefaultContentType in class SimpleBindingCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.