dods.servlet
Class dodsDIR
java.lang.Object
dods.servlet.dodsDIR
public class dodsDIR
- extends Object
Default handler for DODS directory requests. This class is used
by DODSServlet. This code exists as a seperate class in order to alleviate
code bloat in the DODSServlet class. As such, it contains virtually no
state, just behaviors.
- Author:
- Nathan David Potter
Method Summary |
void |
sendDIR(HttpServletRequest request,
HttpServletResponse response,
requestState rs)
Default handler for DODS directory requests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dodsDIR
public dodsDIR()
sendDIR
public void sendDIR(HttpServletRequest request,
HttpServletResponse response,
requestState rs)
throws DODSException,
ParseException
- Default handler for DODS directory requests. Returns an html document
with a list of all datasets on this server with links to their
DDS, DAS, Information, and HTML responses.
- Parameters:
request
- The HttpServletRequest
from the client.response
- The HttpServletResponse
for the client.dServ
- The DODSServlet object containing the correct getDDS(), getDAS),
and getServerName() methods for the dataSet.
- Throws:
DODSException
ParseException