Class GetDirHandler


  • public class GetDirHandler
    extends 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.
    • Constructor Detail

      • GetDirHandler

        public GetDirHandler()
    • Method Detail

      • sendDIR

        public void sendDIR​(ReqState rs)
                     throws opendap.dap.DAP2Exception,
                            opendap.dap.parsers.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:
        rs - The request state object for this client request.
        Throws:
        opendap.dap.DAP2Exception
        opendap.dap.parsers.ParseException
        See Also:
        ReqState