public class McIDASVMonitor.MonitorRequestHandler extends HttpServer.RequestHandler
Modifier and Type | Field and Description |
---|---|
(package private) IntegratedDataViewer |
idv
The idv
|
(package private) Socket |
mysocket
The socket
|
CRLF, LF, server
Constructor and Description |
---|
McIDASVMonitor.MonitorRequestHandler(IntegratedDataViewer idv,
HttpServer server,
Socket socket)
ctor
|
Modifier and Type | Method and Description |
---|---|
private void |
decorateHtml(StringBuffer sb) |
protected void |
handleRequest(String path,
Hashtable formArgs,
Hashtable httpArgs,
String content) |
void |
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
|
addArg, getOutputStream, getSocket, handleFileUpload, log, okToParseContent, parseArgs, redirect, writeBytes, writeHeader, writeHeaderArgs, writeHtml, writeLine, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeXml
IntegratedDataViewer idv
public McIDASVMonitor.MonitorRequestHandler(IntegratedDataViewer idv, HttpServer server, Socket socket) throws Exception
idv
- the idvserver
- the serversocket
- the socket we handle the connection ofException
- On badnesspublic void run()
run
in interface Runnable
run
in class HttpServer.RequestHandler
private void decorateHtml(StringBuffer sb) throws Exception
Exception
protected void handleRequest(String path, Hashtable formArgs, Hashtable httpArgs, String content) throws Exception
handleRequest
in class HttpServer.RequestHandler
path
- url path. ignored.formArgs
- form argshttpArgs
- http argscontent
- content. unused.Exception
- On badness