public interface OpendapHttpDispatchHandler extends DispatchHandler
| Modifier and Type | Method and Description |
|---|---|
ResourceInfo |
getDataSourceInfo(java.lang.String dataSourceName) |
void |
sendASCII(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
--------------------------------------------------------------------------------
Default handler for OPeNDAP ascii requests.
|
void |
sendDAP2Data(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
------------------------------------------------------------------------------
Handles the client's data request.
|
void |
sendDAS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the client's DAS request.
|
void |
sendDDS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
------------------------------------------------------------------------------
Handles the client's DDS request.
|
void |
sendDDX(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the client's DDX request.
|
void |
sendHTMLRequestForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
sendInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
************************************************************************
Handle OPeNDAP .info requests.
|
destroy, getLastModified, handleRequest, init, requestCanBeHandledResourceInfo getDataSourceInfo(java.lang.String dataSourceName) throws java.lang.Exception
java.lang.Exceptionvoid sendDDX(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.ReqInfovoid sendDAS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.ReqInfovoid sendDDS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
Once the DDS has been parsed and constrained it is sent to the requesting client.
request - The client's HttpServletRequest request object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.ReqInfovoid sendDAP2Data(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.ReqInfovoid sendASCII(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.void sendInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
In the C++ code the analogy is the per-cgi file names.
The dataset specific HTML* files are located by catenating `.html' to #name#, where #name# is the name of the dataset. If the filename part of #name# is of the form [A-Za-z]+[0-9]*.* then this function also looks for a file whose name is [A-Za-z].html For example, if #name# is .../data/fnoc1.nc this function first looks for .../data/fnoc1.nc.html. However, if that does not exist it will look for .../data/fnoc.html. This allows one `per-dataset' file to be used for a collection of files with the same root name. NB: An HTML* file contains HTML without the , or tags (my own notation).request - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.lang.Exception - When things go poorly.ReqInfovoid sendHTMLRequestForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exception