Uses of Package
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
Provides a pluggable service provider interface, which allows the HTTP server implementation to be replaced with other implementations.
Classes in com.sun.net.httpserver used by com.sun.net.httpserver Class Description AuthenticatorAuthenticator represents an implementation of an HTTP authentication mechanism. Authenticator.ResultBase class for return type from authenticate() method FilterA filter used to pre- and post-process incoming requests. Filter.Chaina chain of filters associated with a HttpServer. Headers HttpContextHttpContext represents a mapping between the root URI path of an application to a
HttpHandlerwhich is invoked to handle requests destined for that path on the associated HttpServer or HttpsServer.
HttpExchangeThis class encapsulates a HTTP request received and a response to be generated in one exchange. HttpHandlerA handler which is invoked to process HTTP exchanges. HttpPrincipalRepresents a user authenticated by HTTP Basic or Digest authentication. HttpsConfiguratorThis class is used to configure the https parameters for each incoming https connection on a HttpsServer. HttpServerThis class implements a simple HTTP server. HttpsParametersRepresents the set of parameters for each https connection negotiated with clients. HttpsServerThis class is an extension of
HttpServerwhich provides support for HTTPS.