Package org.astrogrid.samp.httpd
Standalone HTTP server.
This is used by the
xmlrpc.internal
XML-RPC layer implementation.
It may also come in useful for client applications which wish to
serve resources (such as dynamically-generated data or icons
as referenced by the Metadata.ICONURL_KEY
item)
as part of SAMP operations.
Other than its use by the xmlprc.internal
classes however
this package is not required by the JSAMP package, and it has no dependencies
on other parts of it, so it may be used as a separate item if required.-
Interface Summary Interface Description HttpServer.Handler Implemented to serve data for some URLs.ServerResource Defines a resource suitable for serving by theResourceHandler
HTTP server handler. -
Class Summary Class Description HttpServer Simple modular HTTP server.HttpServer.HttpHeaderMap Map implementation suitable for storing HTTP headers.HttpServer.Request Represents a parsed HTTP client request.HttpServer.Response Represents a response to an HTTP request.MultiURLMapperHandler Handler implementation which allows the server to serve multiple separate resources which are available to it, but not necessarily to external clients, as URLs.ResourceHandler Handler implementation which implements dynamic resource provision.URLMapperHandler Handler implementation which allows the server to serve resources which are available to it as URLs.UtilServer Utility class for use with HttpServer. -
Exception Summary Exception Description HttpServer.HttpException Convenience class for representing an error whose content should be returned to the user as an HTTP erro response of some kind.