public class GetInfoHandler
extends java.lang.Object
| Constructor and Description |
|---|
GetInfoHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
loadOverrideDoc(java.lang.String infoDir,
java.lang.String dataSet)
************************************************************************
Checks the info directory for user supplied override documents for the
passed dataset name.
|
void |
sendINFO(java.io.PrintWriter pw,
GuardedDataset gds,
ReqState rs)
************************************************************************
Default handler for OPeNDAP info requests.
|
public void sendINFO(java.io.PrintWriter pw,
GuardedDataset gds,
ReqState rs)
throws DAP2Exception,
ParseException
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).pw - The PrintStream to which the output should be written.gds - The thread safe dataset.rs - The ReqState object for theis client request.DAP2ExceptionParseExceptionGuardedDataset,
ReqStatepublic java.lang.String loadOverrideDoc(java.lang.String infoDir,
java.lang.String dataSet)
throws DAP2Exception
dataSet - The name of the dataset.DAP2Exception