public class PoxBinding extends SimpleBinding
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static org.slf4j.Logger |
LOGGER |
QUALITY
Constructor and Description |
---|
PoxBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOperationHttpPostSupported(OperationKey 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
|
Set<String> |
getConformanceClasses() |
protected MediaType |
getDefaultContentType() |
Set<MediaType> |
getSupportedEncodings() |
String |
getUrlPattern()
Get URL pattern for the operator.
|
protected AbstractServiceRequest<?> |
parseRequest(javax.servlet.http.HttpServletRequest request) |
checkServiceOperatorKeyTypes, chooseResponseContentType, chooseResponseContentTypeForExceptionReport, encodeOwsExceptionReport, encodeResponse, getDecoder, getEncoder, getRequestContext, getServiceOperator, getServiceOperator, getServiceOperatorRepository, hasDecoder, hasDecoder, hasEncoder, hasEncoder, hasEncoder, isServiceSupported, isUseHttpResponseCodes, isVersionSupported, writeOwsExceptionReport, writeResponse, writeResponse
checkOperationHttpDeleteSupported, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPutOperation
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
OwsExceptionReport
public String getUrlPattern()
Binding
getUrlPattern
in class Binding
public boolean checkOperationHttpPostSupported(OperationKey k)
Binding
checkOperationHttpPostSupported
in class Binding
k
- identifier of the decoderdecoderKey
supports HTTP-Post
for operation operationName
public Set<MediaType> getSupportedEncodings()
getSupportedEncodings
in class Binding
protected MediaType getDefaultContentType()
getDefaultContentType
in class SimpleBinding
Copyright © 2012-2015 52north.org. All Rights Reserved.