ucar.unidata.idv
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
| Methods inherited from class ucar.unidata.util.HttpServer.RequestHandler |
addArg, getOutputStream, getSocket, handleFileUpload, log, okToParseContent, parseArgs, redirect, run, writeBytes, writeHeader, writeHeaderArgs, writeHtml, writeLine, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeXml |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneInstanceServer.OneInstanceRequestHandler
public OneInstanceServer.OneInstanceRequestHandler(IntegratedDataViewer idv,
HttpServer server,
Socket socket)
throws Exception
- ctor
- Parameters:
idv - the idvserver - the serversocket - the socket we handle the connection of
- Throws:
Exception - On badness
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 argshttpArgs - http argscontent - content. unused.
- Throws:
Exception - On badness