opendap.servlet
Class GetDirHandler

java.lang.Object
  extended by opendap.servlet.GetDirHandler

public class GetDirHandler
extends java.lang.Object

Default handler for OPeNDAP directory requests. This class is used by AbstractServlet. This code exists as a seperate class in order to alleviate code bloat in the AbstractServlet class. As such, it contains virtually no state, just behaviors.

Author:
Nathan David Potter

Constructor Summary
GetDirHandler()
           
 
Method Summary
 void sendDIR(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ReqState rs)
          ************************************************************************ Default handler for OPeNDAP directory requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDirHandler

public GetDirHandler()
Method Detail

sendDIR

public void sendDIR(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    ReqState rs)
             throws DAP2Exception,
                    ParseException
************************************************************************ Default handler for OPeNDAP 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 request state object for this client request.
Throws:
DAP2Exception
ParseException
See Also:
ReqState