public class SoapBinding extends SimpleBinding
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static org.slf4j.Logger |
LOGGER |
QUALITY
Constructor and Description |
---|
SoapBinding() |
Modifier and Type | Method and Description |
---|---|
private MediaType |
checkMediaType(SoapChain chain)
Check the
MediaType |
boolean |
checkOperationHttpPostSupported(OperationKey k)
Check, if the operation is supported by the decoder by the HTTP-Post
method.
|
private List<SoapHeader> |
checkSoapHeaders(List<SoapHeader> headers) |
private void |
checkSoapInjection(SoapChain chain)
Check if SoapHeader information is contained in the body response and add
the header information to the
SoapResponse |
private void |
createBodyResponse(SoapChain chain) |
private void |
createSoapResponse(SoapChain chain) |
void |
doPostOperation(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
HTTP POST request handling method
|
private void |
encodeBodyResponse(SoapChain chain)
Deprecated.
|
private Object |
encodeSoapResponse(SoapChain chain) |
Set<String> |
getConformanceClasses() |
protected MediaType |
getDefaultContentType() |
Set<MediaType> |
getSupportedEncodings() |
String |
getUrlPattern()
Get URL pattern for the operator.
|
private void |
parseBodyRequest(SoapChain chain) |
private void |
parseSoapRequest(SoapChain soapChain) |
private void |
writeOwsExceptionReport(SoapChain chain,
OwsExceptionReport owse) |
private void |
writeResponse(SoapChain chain) |
private void |
writeSoapResponse(SoapChain chain)
Deprecated.
|
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 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
public void doPostOperation(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws HTTPException, IOException
Binding
doPostOperation
in class Binding
httpRequest
- HTTP POST requesthttpResponse
- HTTP POST responseHTTPException
- if the encoding of an exception failedIOException
- if an IO error occursprivate void parseSoapRequest(SoapChain soapChain) throws OwsExceptionReport
OwsExceptionReport
private void parseBodyRequest(SoapChain chain) throws OwsExceptionReport, OwsExceptionReport
OwsExceptionReport
private void createSoapResponse(SoapChain chain)
private void createBodyResponse(SoapChain chain) throws OwsExceptionReport
OwsExceptionReport
@Deprecated private void encodeBodyResponse(SoapChain chain) throws OwsExceptionReport
OwsExceptionReport
private Object encodeSoapResponse(SoapChain chain) throws OwsExceptionReport
OwsExceptionReport
private void writeOwsExceptionReport(SoapChain chain, OwsExceptionReport owse) throws HTTPException, IOException
HTTPException
IOException
private void writeResponse(SoapChain chain) throws IOException, HTTPException
IOException
HTTPException
private MediaType checkMediaType(SoapChain chain)
MediaType
chain
- SoapChain to checkMediaType
private void checkSoapInjection(SoapChain chain)
SoapResponse
chain
- SoapChain to checkprivate List<SoapHeader> checkSoapHeaders(List<SoapHeader> headers)
@Deprecated private void writeSoapResponse(SoapChain chain) throws IOException, OwsExceptionReport
writeResponse(SoapChain)
for streaming supportchain
- IOException
OwsExceptionReport
Copyright © 2012-2014 52north.org. All Rights Reserved.