public abstract class Binding extends Object implements ConformanceClass
Binding.check*()
methods are called during GetCapabilities
processing when collecting the operations metadata.Constructor and Description |
---|
Binding() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOperationHttpDeleteSupported(OperationKey decoderKey)
Check, if the operation is supported by the decoder by the HTTP-Delete
method.
|
boolean |
checkOperationHttpGetSupported(OperationKey decoderKey)
Check, if the operation is supported by the decoder by the HTTP-Get
method.
|
boolean |
checkOperationHttpOptionsSupported(OperationKey decoderKey)
Check, if the operation is supported by the decoder by the HTTP-Options
method.
|
boolean |
checkOperationHttpPostSupported(OperationKey decoderKey)
Check, if the operation is supported by the decoder by the HTTP-Post
method.
|
boolean |
checkOperationHttpPutSupported(OperationKey decoderKey)
Check, if the operation is supported by the decoder by the HTTP-Put
method.
|
void |
doDeleteOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP DELETE request handling method
|
void |
doGetOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP GET request handling method
|
void |
doOptionsOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP DELETE request handling method
|
void |
doPostOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP POST request handling method
|
void |
doPutOperation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
HTTP PUT request handling method
|
Set<MediaType> |
getSupportedEncodings() |
abstract String |
getUrlPattern()
Get URL pattern for the operator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConformanceClasses
public 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 occurspublic 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 occurspublic 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 occurspublic 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 occurspublic 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 occurspublic abstract String getUrlPattern()
public boolean checkOperationHttpDeleteSupported(OperationKey decoderKey) throws HTTPException
decoderKey
- identifier of the decoderdecoderKey
supports HTTP-Delete
for * operation operationName
HTTPException
public boolean checkOperationHttpGetSupported(OperationKey decoderKey) throws HTTPException
decoderKey
- identifier of the decoderdecoderKey
supports HTTP-Get
for operation operationName
HTTPException
public boolean checkOperationHttpPostSupported(OperationKey decoderKey) throws HTTPException
decoderKey
- identifier of the decoderdecoderKey
supports HTTP-Post
for operation operationName
HTTPException
public boolean checkOperationHttpOptionsSupported(OperationKey decoderKey) throws HTTPException
decoderKey
- identifier of the decoderdecoderKey
supports HTTP-Post
for operation operationName
HTTPException
public boolean checkOperationHttpPutSupported(OperationKey decoderKey) throws HTTPException
decoderKey
- identifier of the decoderdecoderKey
supports HTTP-Put
for operation operationName
HTTPException
Copyright © 2012-2015 52north.org. All Rights Reserved.