public class JSONBinding extends SimpleBinding
Binding implementation for JSON encoded requests| Constructor and Description |
|---|
JSONBinding() |
| 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.
|
protected MediaType |
getDefaultContentType() |
Set<BindingKey> |
getKeys() |
protected boolean |
isUseHttpResponseCodes() |
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, doPutOperationpublic Set<BindingKey> getKeys()
protected boolean isUseHttpResponseCodes()
isUseHttpResponseCodes in class SimpleBindingprotected MediaType getDefaultContentType()
getDefaultContentType 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 occursCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.