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 | 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 | Description |
---|---|---|
abstract void |
HttpServer.removeContext(HttpContext context) |
Removes the given context from the server.
|
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1