public interface Binding extends Component<BindingKey>, EncodingExceptionHandler
Binding.check*() methods are called during GetCapabilities processing when collecting the
operations metadata.| Modifier and Type | Method and Description |
|---|---|
default boolean |
checkOperationHttpDeleteSupported(OwsOperationKey operation)
Check, if the operation is supported by the decoder by the HTTP-Delete method.
|
default boolean |
checkOperationHttpGetSupported(OwsOperationKey operation)
Check, if the operation is supported by the decoder by the HTTP-Get method.
|
default boolean |
checkOperationHttpOptionsSupported(OwsOperationKey operation)
Check, if the operation is supported by the decoder by the HTTP-Options method.
|
default boolean |
checkOperationHttpPostSupported(OwsOperationKey operation)
Check, if the operation is supported by the decoder by the HTTP-Post method.
|
default boolean |
checkOperationHttpPutSupported(OwsOperationKey operation)
Check, if the operation is supported by the decoder by the HTTP-Put method.
|
default void |
doDeleteOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP DELETE request handling method.
|
default void |
doGetOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP GET request handling method.
|
default void |
doOptionsOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP DELETE request handling method.
|
default void |
doPostOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP POST request handling method.
|
default void |
doPutOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP PUT request handling method.
|
handleEncodingExceptiondefault void doDeleteOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws HTTPException,
IOException
request - HTTP DELETE requestresponse - HTTP DELETE responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursdefault void doGetOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws HTTPException,
IOException
request - HTTP GET requestresponse - HTTP GET responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursdefault void doOptionsOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws HTTPException,
IOException
request - HTTP DELETE requestresponse - HTTP DELETE responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursdefault void doPostOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws HTTPException,
IOException
request - HTTP POST requestresponse - HTTP POST responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursdefault void doPutOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws HTTPException,
IOException
request - HTTP PUT requestresponse - HTTP PUT responseHTTPException - if the encoding of an exception failedIOException - if an IO error occursdefault boolean checkOperationHttpDeleteSupported(OwsOperationKey operation) throws HTTPException
operation - identifier of the decoderdecoderKey supports HTTP-Delete for operation operationNameHTTPException - if an error occursdefault boolean checkOperationHttpGetSupported(OwsOperationKey operation) throws HTTPException
operation - identifier of the decoderdecoderKey supports HTTP-Get for operation operationNameHTTPException - if an error occursdefault boolean checkOperationHttpPostSupported(OwsOperationKey operation) throws HTTPException
operation - identifier of the decoderdecoderKey supports HTTP-Post for operation operationNameHTTPException - if an error occursdefault boolean checkOperationHttpOptionsSupported(OwsOperationKey operation) throws HTTPException
operation - identifier of the decoderdecoderKey supports HTTP-Post for operation operationNameHTTPException - if an error occursdefault boolean checkOperationHttpPutSupported(OwsOperationKey operation) throws HTTPException
operation - identifier of the decoderdecoderKey supports HTTP-Put for operation operationNameHTTPException - if an error occursCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.