public class EXIBinding extends SimpleBinding
| Constructor and Description |
|---|
EXIBinding(EXIUtils exiUtils) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperationHttpPostSupported(OwsOperationKey k)
Check, if the operation is supported by the decoder by the HTTP-Post method.
|
protected org.apache.xmlbeans.XmlObject |
decode(javax.servlet.http.HttpServletRequest request)
Parse the incoming EXI encoded
InputStream transform to
XmlObject |
void |
doPostOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
HTTP POST request handling method.
|
protected MediaType |
getDefaultContentType() |
Set<BindingKey> |
getKeys() |
protected boolean |
isUseHttpResponseCodes() |
protected OwsServiceRequest |
parseRequest(javax.servlet.http.HttpServletRequest request)
Parse and decode the incoming EXI encoded
InputStream |
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, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPutOperation@Inject public EXIBinding(EXIUtils exiUtils)
protected MediaType getDefaultContentType()
getDefaultContentType in class SimpleBindingprotected boolean isUseHttpResponseCodes()
isUseHttpResponseCodes in class SimpleBindingpublic boolean checkOperationHttpPostSupported(OwsOperationKey k) throws HTTPException
Bindingk - identifier of the decoderdecoderKey supports HTTP-Post for operation operationNameHTTPException - if an error occurspublic void doPostOperation(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws HTTPException,
IOException
Bindingreq - HTTP POST requestres - HTTP POST responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursprotected OwsServiceRequest parseRequest(javax.servlet.http.HttpServletRequest request) throws OwsExceptionReport
InputStreamrequest - HttpServletRequest with EXI encoded
InputStreamOwsServiceRequest from EXI encoded InputStreamOwsExceptionReport - If an error occurs during parsingprotected org.apache.xmlbeans.XmlObject decode(javax.servlet.http.HttpServletRequest request)
throws OwsExceptionReport
InputStream transform to
XmlObjectrequest - HttpServletRequest with EXI encoded
InputStreamXmlObject created from the EXI encoded
InputStreamOwsExceptionReport - If an error occurs during parsingpublic Set<BindingKey> getKeys()
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.