Class OneInstanceServer.OneInstanceRequestHandler

java.lang.Object
ucar.unidata.util.HttpServer.RequestHandler
ucar.unidata.idv.OneInstanceServer.OneInstanceRequestHandler
All Implemented Interfaces:
Runnable
Enclosing class:
OneInstanceServer

public static class OneInstanceServer.OneInstanceRequestHandler extends HttpServer.RequestHandler
Class OneInstanceRequestHandler the handler
Version:
$Revision: 1.11 $
Author:
IDV Development Team
  • Constructor Details

    • OneInstanceRequestHandler

      public OneInstanceRequestHandler(IntegratedDataViewer idv, HttpServer server, Socket socket) throws Exception
      ctor
      Parameters:
      idv - the idv
      server - the server
      socket - the socket we handle the connection of
      Throws:
      Exception - On badness
  • Method Details

    • handleRequest

      protected void handleRequest(String path, Hashtable formArgs, Hashtable httpArgs, String content) throws Exception
      Handle the request. This reads the command line arguments, writes back "ok", nad has the idv process the args.
      Overrides:
      handleRequest in class HttpServer.RequestHandler
      Parameters:
      path - url path. ignored.
      formArgs - form args
      httpArgs - http args
      content - content. unused.
      Throws:
      Exception - On badness