Package | Description |
---|---|
com.sun.net.httpserver |
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
|
com.sun.net.httpserver.spi |
Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations.
|
Modifier and Type | Method | Description |
---|---|---|
static HttpsServer |
HttpsServer.create() |
creates a HttpsServer instance which is initially not bound to any local address/port.
|
static HttpsServer |
HttpsServer.create(InetSocketAddress addr,
int backlog) |
Create a
HttpsServer instance which will bind to the
specified InetSocketAddress (IP address and port number)
A maximum backlog can also be specified. |
Modifier and Type | Method | Description |
---|---|---|
abstract HttpsServer |
HttpServerProvider.createHttpsServer(InetSocketAddress addr,
int backlog) |
creates a HttpsServer from this provider
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1