Package org.n52.iceland.binding
Interface Binding
- All Superinterfaces:
Component<BindingKey>,EncodingExceptionHandler,Keyed<BindingKey>
- All Known Implementing Classes:
AbstractXmlBinding,EXIBinding,JSONBinding,KvpBinding,PoxBinding,SimpleBinding,SoapBinding
Abstract Super class for binding implementations.
Context: The
Binding.check*() methods are called during GetCapabilities processing when collecting the
operations metadata.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancheckOperationHttpDeleteSupported(OwsOperationKey operation) Check, if the operation is supported by the decoder by the HTTP-Delete method.default booleancheckOperationHttpGetSupported(OwsOperationKey operation) Check, if the operation is supported by the decoder by the HTTP-Get method.default booleanCheck, if the operation is supported by the decoder by the HTTP-Options method.default booleancheckOperationHttpPostSupported(OwsOperationKey operation) Check, if the operation is supported by the decoder by the HTTP-Post method.default booleancheckOperationHttpPutSupported(OwsOperationKey operation) Check, if the operation is supported by the decoder by the HTTP-Put method.default voiddoDeleteOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) HTTP DELETE request handling method.default voiddoGetOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) HTTP GET request handling method.default voiddoOptionsOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) HTTP DELETE request handling method.default voiddoPostOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) HTTP POST request handling method.default voiddoPutOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) HTTP PUT request handling method.Methods inherited from interface org.n52.iceland.binding.EncodingExceptionHandler
handleEncodingException
-
Method Details
-
doDeleteOperation
default void doDeleteOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws HTTPException, IOException HTTP DELETE request handling method.- Parameters:
request- HTTP DELETE requestresponse- HTTP DELETE response- Throws:
HTTPException- if the encoding of an exception failedIOException- if an IO error occurs
-
doGetOperation
default void doGetOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws HTTPException, IOException HTTP GET request handling method.- Parameters:
request- HTTP GET requestresponse- HTTP GET response- Throws:
HTTPException- if the encoding of an exception failedIOException- if an IO error occurs
-
doOptionsOperation
default void doOptionsOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws HTTPException, IOException HTTP DELETE request handling method.- Parameters:
request- HTTP DELETE requestresponse- HTTP DELETE response- Throws:
HTTPException- if the encoding of an exception failedIOException- if an IO error occurs
-
doPostOperation
default void doPostOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws HTTPException, IOException HTTP POST request handling method.- Parameters:
request- HTTP POST requestresponse- HTTP POST response- Throws:
HTTPException- if the encoding of an exception failedIOException- if an IO error occurs
-
doPutOperation
default void doPutOperation(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws HTTPException, IOException HTTP PUT request handling method.- Parameters:
request- HTTP PUT requestresponse- HTTP PUT response- Throws:
HTTPException- if the encoding of an exception failedIOException- if an IO error occurs
-
checkOperationHttpDeleteSupported
Check, if the operation is supported by the decoder by the HTTP-Delete method.- Parameters:
operation- identifier of the decoder- Returns:
- true, if the decoder
decoderKeysupports HTTP-Delete for operationoperationName - Throws:
HTTPException- if an error occurs
-
checkOperationHttpGetSupported
Check, if the operation is supported by the decoder by the HTTP-Get method.- Parameters:
operation- identifier of the decoder- Returns:
- true, if the decoder
decoderKeysupports HTTP-Get for operationoperationName - Throws:
HTTPException- if an error occurs
-
checkOperationHttpPostSupported
Check, if the operation is supported by the decoder by the HTTP-Post method.- Parameters:
operation- identifier of the decoder- Returns:
- true, if the decoder
decoderKeysupports HTTP-Post for operationoperationName - Throws:
HTTPException- if an error occurs
-
checkOperationHttpOptionsSupported
Check, if the operation is supported by the decoder by the HTTP-Options method.- Parameters:
operation- identifier of the decoder- Returns:
- true, if the decoder
decoderKeysupports HTTP-Post for operationoperationName - Throws:
HTTPException- if an error occurs
-
checkOperationHttpPutSupported
Check, if the operation is supported by the decoder by the HTTP-Put method.- Parameters:
operation- identifier of the decoder- Returns:
- true, if the decoder
decoderKeysupports HTTP-Put for operationoperationName - Throws:
HTTPException- if an error occurs
-