Uses of Class
com.sun.net.httpserver.HttpContext
Packages that use 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
Methods in com.sun.net.httpserver that return HttpContextModifier 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()
Get theHttpContext
for this exchange.Methods in com.sun.net.httpserver with parameters of type HttpContextModifier and TypeMethodDescriptionabstract void
HttpServer.removeContext
(HttpContext context) Removes the given context from the server.