Package ucar.unidata.idv
Class ImageServer
java.lang.Object
ucar.unidata.util.HttpServer
ucar.unidata.idv.ImageServer
Creates and serves up images via http
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass ImageRequestHandler handles image server requestsNested classes/interfaces inherited from class ucar.unidata.util.HttpServer
HttpServer.RequestHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringhttp image argstatic final Stringhttp image argstatic final Stringhttp image argstatic final Stringhttp image argstatic final String_more_static final Stringhttp image argstatic final Stringhttp image argstatic final Stringhttp image argstatic final String_more_static final Stringhttp image argstatic final Stringhttp image argstatic final Stringhttp image argFields inherited from class ucar.unidata.util.HttpServer
RESPONSE_INTERNALERROR, RESPONSE_NOTFOUND, RESPONSE_OK, RESPONSE_UNAUTHORIZED, serverProperties, TYPE_GET, TYPE_POST -
Constructor Summary
ConstructorsConstructorDescriptionImageServer(IntegratedDataViewer idv, int port) ctorImageServer(IntegratedDataViewer idv, String propertyFile) ctor -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpServer.RequestHandlerdoMakeRequestHandler(Socket socket) Create the request handler for the connectionMethods inherited from class ucar.unidata.util.HttpServer
getPort, getProperties, handleError, init, initServerSocket, setPort, xxxxmain
-
Field Details
-
ARG_REQUEST
http image arg- See Also:
-
ARG_FILE
http image arg- See Also:
-
ARG_BUNDLE
http image arg- See Also:
-
ARG_DATASOURCE
http image arg- See Also:
-
ARG_PARAM
http image arg- See Also:
-
ARG_DISPLAY
http image arg- See Also:
-
ARG_PROPERTIES
http image arg- See Also:
-
ARG_WIDTH
_more_- See Also:
-
ARG_HEIGHT
_more_- See Also:
-
REQ_MAKEMOVIE
http image arg- See Also:
-
REQ_MAKEIMAGE
http image arg- See Also:
-
REQ_EXIT
http image arg- See Also:
-
-
Constructor Details
-
ImageServer
ctor- Parameters:
idv- The idvport- The port
-
ImageServer
ctor- Parameters:
idv- The idvpropertyFile- server properties
-
-
Method Details
-
doMakeRequestHandler
Create the request handler for the connection- Overrides:
doMakeRequestHandlerin classHttpServer- Parameters:
socket- The connection- Returns:
- The handler
- Throws:
Exception- On badness
-