| Package | Description |
|---|---|
| com.sun.net.httpserver |
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
|
| Modifier and Type | Method and Description |
|---|---|
abstract HttpContext |
HttpServer.createContext(String path)
Creates a HttpContext without initially specifying a handler.
|
abstract HttpContext |
HttpServer.createContext(String path,
HttpHandler handler)
Creates a HttpContext.
|
abstract HttpContext |
HttpExchange.getHttpContext()
Get the HttpContext for this exchange
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
HttpServer.removeContext(HttpContext context)
Removes the given context from the server.
|
Copyright © 2005, 2018, Oracle and/or its affiliates. All rights reserved.