Uses of Class
com.sun.net.httpserver.HttpContext
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
-
Uses of HttpContext in com.sun.net.httpserver
Modifier and TypeMethodDescriptionabstract HttpContext
HttpServer.createContext
(String path) Creates a HttpContext without initially specifying a handler.abstract HttpContext
HttpServer.createContext
(String path, HttpHandler handler) Creates aHttpContext
.abstract HttpContext
HttpExchange.getHttpContext()
Returns theHttpContext
for this exchange.Modifier and TypeMethodDescriptionabstract void
HttpServer.removeContext
(HttpContext context) Removes the given context from the server.