Package edu.wisc.ssec.mcidasv
Class McIDASVMonitor.MonitorRequestHandler
java.lang.Object
ucar.unidata.util.HttpServer.RequestHandler
edu.wisc.ssec.mcidasv.McIDASVMonitor.MonitorRequestHandler
- All Implemented Interfaces:
Runnable
- Enclosing class:
McIDASVMonitor
-
Field Summary
FieldsFields inherited from class ucar.unidata.util.HttpServer.RequestHandler
CRLF, LF, server -
Constructor Summary
ConstructorsConstructorDescriptionMonitorRequestHandler(IntegratedDataViewer idv, HttpServer server, Socket socket) ctor -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprotected voidhandleRequest(String path, Hashtable formArgs, Hashtable httpArgs, String content) voidrun()Try to trap the case where the socket doesn't contain any bytes This can happen when mcservl connects to ping Prevents an infinite loop in HttpServerMethods inherited from class ucar.unidata.util.HttpServer.RequestHandler
addArg, getOutputStream, getSocket, handleFileUpload, log, okToParseContent, parseArgs, redirect, writeBytes, writeHeader, writeHeaderArgs, writeHtml, writeLine, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeXml
-
Field Details
-
idv
-
mysocket
-
-
Constructor Details
-
MonitorRequestHandler
public MonitorRequestHandler(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
-
-
Method Details
-
run
Try to trap the case where the socket doesn't contain any bytes This can happen when mcservl connects to ping Prevents an infinite loop in HttpServer- Specified by:
runin interfaceRunnable- Overrides:
runin classHttpServer.RequestHandler
-
decorateHtml
- Throws:
Exception
-
handleRequest
protected void handleRequest(String path, Hashtable formArgs, Hashtable httpArgs, String content) throws Exception - Overrides:
handleRequestin classHttpServer.RequestHandler- Parameters:
path- url path. ignored.formArgs- form argshttpArgs- http argscontent- content. unused.- Throws:
Exception- On badness
-
enableTraceLogging
- Throws:
Exception
-