public class W10nResponder
extends java.lang.Object
| Constructor and Description |
|---|
W10nResponder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDownloadFileName(java.lang.String resourceID) |
void |
sendFile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
Transmits a non-data file from the BES to the requesting client.
|
void |
sendNetCdf3(opendap.w10n.W10nRequest w10nRequest,
int maxResponseSize,
javax.servlet.http.HttpServletResponse response)
Utilizes the BesApi and the BES fileout_netcdf handler to transmit the requested variable
as NetCDF-3 encoded data.
|
void |
sendNetCdf4(opendap.w10n.W10nRequest w10nRequest,
int maxResponseSize,
javax.servlet.http.HttpServletResponse response)
Utilizes the BesApi and the BES fileout_netcdf handler to transmit the requested variable
as NetCDF-4 encoded data.
|
void |
sendW10NResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles all w10n service activity.
|
void |
setSystemPath(java.lang.String path) |
public void setSystemPath(java.lang.String path)
public void sendW10NResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws org.jdom.JDOMException,
OPeNDAPException,
java.io.IOException,
net.sf.saxon.s9api.SaxonApiException
request - Incoming client requestresponse - Outbound response.org.jdom.JDOMExceptionOPeNDAPExceptionjava.io.IOExceptionnet.sf.saxon.s9api.SaxonApiExceptionpublic void sendNetCdf3(opendap.w10n.W10nRequest w10nRequest,
int maxResponseSize,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
PPTException,
BadConfigurationException,
BESError
w10nRequest - The w10nRequest object for the request to be serviced.maxResponseSize - Max response size.response - The outgoing response.java.io.IOExceptionPPTExceptionBadConfigurationExceptionBESErrorpublic void sendNetCdf4(opendap.w10n.W10nRequest w10nRequest,
int maxResponseSize,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
PPTException,
BadConfigurationException,
BESError
w10nRequest - The w10nRequest object for the request to be serviced.maxResponseSize - Max response size.response - The outgoing response.java.io.IOExceptionPPTExceptionBadConfigurationExceptionBESErrorpublic void sendFile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
PPTException,
BadConfigurationException,
BESError
req - response - java.io.IOExceptionPPTExceptionBadConfigurationExceptionBESErrorpublic java.lang.String getDownloadFileName(java.lang.String resourceID)
resourceID -