public class EXIBinding extends SimpleBinding
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static EXIUtils |
EXI_UTILS |
private static org.slf4j.Logger |
LOGGER |
private static String |
URL_PATTERN |
QUALITY
Constructor and Description |
---|
EXIBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOperationHttpPostSupported(OperationKey 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
|
Set<String> |
getConformanceClasses() |
protected MediaType |
getDefaultContentType() |
Set<MediaType> |
getSupportedEncodings() |
String |
getUrlPattern()
Get URL pattern for the operator.
|
protected boolean |
isUseHttpResponseCodes() |
protected AbstractServiceRequest<?> |
parseRequest(javax.servlet.http.HttpServletRequest request)
Parse and decode the incoming EXI encoded
InputStream |
checkServiceOperatorKeyTypes, chooseResponseContentType, chooseResponseContentTypeForExceptionReport, encodeOwsExceptionReport, encodeResponse, getDecoder, getEncoder, getRequestContext, getServiceOperator, getServiceOperator, getServiceOperatorRepository, hasDecoder, hasDecoder, hasEncoder, hasEncoder, hasEncoder, isServiceSupported, isVersionSupported, writeOwsExceptionReport, writeResponse, writeResponse
checkOperationHttpDeleteSupported, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPutOperation
private static final EXIUtils EXI_UTILS
private static final String URL_PATTERN
private static final org.slf4j.Logger LOGGER
protected MediaType getDefaultContentType()
getDefaultContentType
in class SimpleBinding
public String getUrlPattern()
Binding
getUrlPattern
in class Binding
public Set<MediaType> getSupportedEncodings()
getSupportedEncodings
in class Binding
protected boolean isUseHttpResponseCodes()
isUseHttpResponseCodes
in class SimpleBinding
public boolean checkOperationHttpPostSupported(OperationKey k) throws HTTPException
Binding
checkOperationHttpPostSupported
in class Binding
k
- identifier of the decoderdecoderKey
supports HTTP-Post
for operation operationName
HTTPException
public void doPostOperation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws HTTPException, IOException
Binding
doPostOperation
in class Binding
req
- HTTP POST requestres
- HTTP POST responseHTTPException
- if the encoding of an exception failedIOException
- if an IO error occursprotected AbstractServiceRequest<?> parseRequest(javax.servlet.http.HttpServletRequest request) throws OwsExceptionReport
InputStream
request
- HttpServletRequest
with EXI encoded
InputStream
AbstractServiceRequest
from EXI encoded
InputStream
OwsExceptionReport
- If an error occurs during parsingprotected org.apache.xmlbeans.XmlObject decode(javax.servlet.http.HttpServletRequest request) throws OwsExceptionReport
InputStream
transform to
XmlObject
request
- HttpServletRequest
with EXI encoded
InputStream
XmlObject
created from the EXI encoded
InputStream
OwsExceptionReport
- If an error occurs during parsingCopyright © 2012-2015 52north.org. All Rights Reserved.