Uses of Class
com.sun.net.httpserver.HttpExchange
| Package | Description |
|---|---|
| com.sun.net.httpserver |
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
|
-
Uses of HttpExchange in com.sun.net.httpserver
Subclasses of HttpExchange in com.sun.net.httpserver Modifier and Type Class Description classHttpsExchangeThis class encapsulates a HTTPS request received and a response to be generated in one exchange and defines the extensions to HttpExchange that are specific to the HTTPS protocol.Methods in com.sun.net.httpserver with parameters of type HttpExchange Modifier and Type Method Description abstract Authenticator.ResultAuthenticator. authenticate(HttpExchange exch)called to authenticate each incoming request.voidFilter.Chain. doFilter(HttpExchange exchange)calls the next filter in the chain, or else the users exchange handler, if this is the final filter in the chain.abstract voidFilter. doFilter(HttpExchange exchange, Filter.Chain chain)Asks this filter to pre/post-process the given exchange.voidHttpHandler. handle(HttpExchange exchange)Handle the given request and generate an appropriate response.