public class GetCoverageRequestProcessor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COVERAGES_CONTENT_ID |
| 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 final java.lang.String COVERAGES_CONTENT_ID
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.PPTExceptionBadConfigurationExceptionBESErrorpublic static void sendFormatResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response) throws WcsException, java.lang.InterruptedException, java.io.IOException, PPTException, BadConfigurationException, BESError
WcsExceptionjava.lang.InterruptedExceptionjava.io.IOExceptionPPTExceptionBadConfigurationExceptionBESErrorpublic static void sendMultipartGmlResponse(GetCoverageRequest req, javax.servlet.http.HttpServletResponse response, boolean useSoapEnvelope) throws WcsException, java.lang.InterruptedException
WcsExceptionjava.lang.InterruptedExceptionpublic static java.lang.String getReturnFormat(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsExceptionjava.lang.InterruptedExceptionpublic static java.lang.String getDap2DataAccessUrl(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
req - WcsExceptionjava.lang.InterruptedExceptionpublic static java.lang.String getContentDisposition(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsExceptionjava.lang.InterruptedExceptionpublic static java.lang.String getReturnMimeType(GetCoverageRequest req) throws WcsException, java.lang.InterruptedException
WcsExceptionjava.lang.InterruptedExceptionpublic static org.jdom.Document getBesCmd(GetCoverageRequest req, CoverageDescription cd, WcsCatalog wcsCatalog) throws WcsException, java.lang.InterruptedException
req - java.lang.InterruptedExceptionWcsException