dods.servlet
Class dodsDIR

java.lang.Object
  extended bydods.servlet.dodsDIR

public class dodsDIR
extends java.lang.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

Constructor Summary
dodsDIR()
           
 
Method Summary
 void sendDIR(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ReqState 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
 

Constructor Detail

dodsDIR

public dodsDIR()
Method Detail

sendDIR

public void sendDIR(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    ReqState 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.
rs - The ReqState object for this client request.
Throws:
DODSException
ParseException