public class dts extends AbstractServlet
<servlet>
<servlet-name>
dts
</servlet-name>
<servlet-class>
opendap.servers.test.dts
</servlet-class>
<init-param>
<param-name>DebugOn</param-name>
<param-value>showRequest showResponse </param-value>
</init-param>
<init-param>
<param-name>INFOcache</param-name>
<param-value>/usr/Java-OPeNDAP/sdds-testsuite/info/</param-value>
</init-param>
<init-param>
<param-name>DDScache</param-name>
<param-value>/usr/Java-OPeNDAP/sdds-testsuite/dds/</param-value>
</init-param>
<init-param>
<param-name>DAScache</param-name>
<param-value>/usr/Java-OPeNDAP/sdds-testsuite/das/</param-value>
</init-param>
</servlet>
allowDeflate| Constructor and Description |
|---|
dts() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
************************************************************************
We override this crucial method from the parent servlet in order to
force the client not to cache.
|
void |
doGetASC(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
************************************************************************
Default handler for the client's data request.
|
void |
doGetBLOB(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
************************************************************************
Default handler for the client's data request.
|
void |
doGetDAP2Data(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
************************************************************************
Default handler for the client's data request.
|
protected GuardedDataset |
getDataset(ReqState rs)
************************************************************************
This method must be implemented locally for each OPeNDAP server.
|
java.lang.String |
getServerVersion()
************************************************************************
This method returns a String containing the OPeNDAP Server Version...
|
void |
init()
************************************************************************
Intitializes the servlet.
|
anyExceptionHandler, badURL, dap2ExceptionHandler, doDebug, doDebugCmd, doGetCatalog, doGetDAS, doGetDDS, doGetDDX, doGetDIR, doGetHELP, doGetHTML, doGetINFO, doGetStatus, doGetSystemProps, doGetVER, getServerName, IOExceptionHandler, parseExceptionHandler, printCatalog, printStatus, probeRequest, sendDODSErrordoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic void init()
throws javax.servlet.ServletException
AbstractServletinit in class AbstractServletjavax.servlet.ServletExceptionpublic java.lang.String getServerVersion()
getServerVersion in class AbstractServletpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doGet in class AbstractServletrequest - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.java.io.IOExceptionjavax.servlet.ServletExceptionReqStatepublic void doGetDAP2Data(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
throws java.io.IOException,
javax.servlet.ServletException
Once the DDS has been parsed, the data is read (using the class in the localized server factory etc.), compared to the constraint expression, and then sent to the client.
doGetDAP2Data in class AbstractServletrequest - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.rs - The ReqState of this client request. Contains all kinds of
important stuff.java.io.IOExceptionjavax.servlet.ServletExceptionReqStatepublic void doGetASC(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
throws java.lang.Exception
Once the DDS has been parsed, the data is read (using the class in the localized server factory etc.), compared to the constraint expression, and then sent to the client.
doGetASC in class AbstractServletrequest - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.rs - the decoded Request Statejava.lang.Exceptionpublic void doGetBLOB(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ReqState rs)
throws java.io.IOException,
javax.servlet.ServletException
Once the DDS has been parsed, the data is read (using the class in the localized server factory etc.), compared to the constraint expression, and then sent to the client.
doGetBLOB in class AbstractServletrequest - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.rs - The ReqState of this client request. Contains all kinds of
important stuff.java.io.IOExceptionjavax.servlet.ServletExceptionReqStateThis class/method is associated with pre-release version of the DDX API. It is experimental and is subject to (significant) change.
protected GuardedDataset getDataset(ReqState rs) throws DAP2Exception, java.io.IOException, ParseException
AbstractServletgetDataset in class AbstractServletrs - The ReqState object for this particular client request.DAP2Exceptionjava.io.IOExceptionParseExceptionServerDDS,
test_ServerFactory