public class GetCoverageRequestProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
coveragesContentID |
Constructor and Description |
---|
GetCoverageRequestProcessor() |
Modifier and Type | Method and Description |
---|---|
static org.jdom.Document |
getBesCmd(GetCoverageRequest req,
CoverageDescription cd,
WcsCatalog wcsCatalog) |
static java.lang.String |
getContentDisposition(GetCoverageRequest req) |
static java.lang.String |
getDap2DataAccessUrl(GetCoverageRequest req) |
static java.lang.String |
getReturnFormat(GetCoverageRequest req) |
static java.lang.String |
getReturnMimeType(GetCoverageRequest req) |
static void |
sendCoverageResponse(GetCoverageRequest req,
javax.servlet.http.HttpServletResponse response,
boolean useSoapEnvelope) |
static void |
sendFormatResponse(GetCoverageRequest req,
javax.servlet.http.HttpServletResponse response) |
static void |
sendMultipartGmlResponse(GetCoverageRequest req,
javax.servlet.http.HttpServletResponse response,
boolean useSoapEnvelope) |
public static void sendCoverageResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response, boolean useSoapEnvelope) throws WcsException, java.lang.InterruptedException, java.io.IOException, PPTException, BadConfigurationException, BESError
req
- The GetCoverageRequest object built fromt the client request.response
- HttpServletResponse object that will receive the response content.useSoapEnvelope
- Instructs the server to make the response a SOAP document.WcsException
- When a wcs:Coverage response document cannot be
constructed for the passed request.java.lang.InterruptedException
- When the server may need to stop a (possibly length) requestjava.io.IOException
- Wen in the disk or the internets are broken.PPTException
BadConfigurationException
BESError
public static void sendFormatResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response) throws WcsException, java.lang.InterruptedException, java.io.IOException, PPTException, BadConfigurationException, BESError
WcsException
java.lang.InterruptedException
java.io.IOException
PPTException
BadConfigurationException
BESError
public static void sendMultipartGmlResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response, boolean useSoapEnvelope) throws WcsException, java.lang.InterruptedException
WcsException
java.lang.InterruptedException
public static java.lang.String getReturnFormat(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsException
java.lang.InterruptedException
public static java.lang.String getDap2DataAccessUrl(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
req
- WcsException
java.lang.InterruptedException
public static java.lang.String getContentDisposition(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsException
java.lang.InterruptedException
public static java.lang.String getReturnMimeType(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsException
java.lang.InterruptedException
public static org.jdom.Document getBesCmd(GetCoverageRequest req, CoverageDescription cd, WcsCatalog wcsCatalog) throws WcsException, java.lang.InterruptedException
req
- java.lang.InterruptedException
WcsException