public class SoapHandler extends XmlRequestHandler
XmlRequestHandler.NoOpEntityResolver
_config, _initialized, _prefix, log
Constructor and Description |
---|
SoapHandler() |
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
describeCoverage(DescribeCoverageRequest wcsRequest) |
org.jdom.Document |
getCapabilities(GetCapabilitiesRequest wcsRequest,
java.lang.String serviceUrl) |
void |
init(DispatchServlet servlet,
org.jdom.Element config) |
org.jdom.Document |
parseWcsRequest(java.io.BufferedReader sis,
java.lang.String encoding) |
void |
sendCoverageResponse(GetCoverageRequest req,
javax.servlet.http.HttpServletResponse response) |
static org.jdom.Document |
wrapDocumentInSoapEnvelope(org.jdom.Document doc) |
destroy, getEncoding, getLastModified, getRequestReader, getRequestType, handleRequest, handleWcsError, handleWcsRequest, handleWcsRequest, init, requestCanBeHandled, sendWcsResponse
public void init(DispatchServlet servlet, org.jdom.Element config) throws java.lang.Exception
java.lang.Exception
public org.jdom.Document parseWcsRequest(java.io.BufferedReader sis, java.lang.String encoding) throws WcsException
parseWcsRequest
in class XmlRequestHandler
WcsException
public org.jdom.Document getCapabilities(GetCapabilitiesRequest wcsRequest, java.lang.String serviceUrl) throws java.lang.InterruptedException, WcsException
getCapabilities
in interface WcsResponder
getCapabilities
in class XmlRequestHandler
java.lang.InterruptedException
WcsException
public org.jdom.Document describeCoverage(DescribeCoverageRequest wcsRequest) throws java.lang.InterruptedException, WcsException
describeCoverage
in interface WcsResponder
describeCoverage
in class XmlRequestHandler
java.lang.InterruptedException
WcsException
public void sendCoverageResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response) throws java.lang.InterruptedException, WcsException, java.io.IOException, PPTException, BadConfigurationException, BESError
sendCoverageResponse
in class XmlRequestHandler
req
- A GetCoverageREquest object.response
- The HttpServletResponse to which the coverage will be sent.java.lang.InterruptedException
- When it gets interrupted.WcsException
- When bad things happen.java.io.IOException
PPTException
BadConfigurationException
BESError
public static org.jdom.Document wrapDocumentInSoapEnvelope(org.jdom.Document doc)