Package ucar.unidata.idv
Class IdvMonitor
java.lang.Object
ucar.unidata.util.HttpServer
ucar.unidata.idv.IdvMonitor
This provides http based access to a stack trace and enables the user to shutdown the IDV.
This only is responsive to incoming requests from localhost
the urls this provides are:
http://localhost:/stack.html
http://localhost:/info.html
http://localhost:/shutdown.html
- Author:
- IDV development team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassClass OneInstanceRequestHandler the handlerNested classes/interfaces inherited from class ucar.unidata.util.HttpServer
HttpServer.RequestHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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.RequestHandlerdoMakeRequestHandler(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
-
CMD_PING
- See Also:
-
CMD_LOADBUNDLE
- See Also:
-
CMD_LOADISL
- See Also:
-
ARG_BUNDLE
- See Also:
-
ARG_ISL
- See Also:
-
ARG_ISLPATH
- See Also:
-
-
Constructor Details
-
IdvMonitor
_more_- Parameters:
idv- _more_port- _more_
-
-
Method Details
-
doMakeRequestHandler
Make the handler for this request. Check if the client is coming from localhost if not then return null.- Overrides:
doMakeRequestHandlerin classHttpServer- Parameters:
socket- incoming socket- Returns:
- handler or null
- Throws:
Exception- _more_
-