Package edu.wisc.ssec.mcidasv
Class McIDASVMonitor
java.lang.Object
ucar.unidata.util.HttpServer
edu.wisc.ssec.mcidasv.McIDASVMonitor
This provides http based access to a stack trace and enables the user to
shut down McIDAS-V.
This only is responsive to incoming requests from localhost.
The only URLs available are the following:
http://localhost:<port>/stack.html
http://localhost:<port>/info.html
http://localhost:<port>/shutdown.html
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ucar.unidata.util.HttpServer
HttpServer.RequestHandler
-
Field Summary
FieldsFields inherited from class ucar.unidata.util.HttpServer
RESPONSE_INTERNALERROR, RESPONSE_NOTFOUND, RESPONSE_OK, RESPONSE_UNAUTHORIZED, serverProperties, TYPE_GET, TYPE_POST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpServer.RequestHandler
doMakeRequestHandler
(Socket socket) Make the handler for this request.Methods inherited from class ucar.unidata.util.HttpServer
getPort, getProperties, handleError, init, initServerSocket, setPort, xxxxmain
-
Field Details
-
idv
-
localHost
The localhost
-
-
Constructor Details
-
McIDASVMonitor
-
-
Method Details
-
doMakeRequestHandler
Make the handler for this request. Check if the client is coming from localhost, if not then return null.- Overrides:
doMakeRequestHandler
in classHttpServer
- Parameters:
socket
- Incoming socket.- Returns:
- handler or
null
. - Throws:
Exception
-