| Package | Description |
|---|---|
| org.glassfish.grizzly | |
| org.glassfish.grizzly.http.server | |
| org.glassfish.grizzly.nio.transport |
| Modifier and Type | Method and Description |
|---|---|
static PortRange |
PortRange.valueOf(String s)
Parse a port range.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
SocketBinder.bind(String host,
PortRange portRange,
int backlog)
Binds Transport to the specific host, and port within a
PortRange. |
Connection |
AbstractBindingHandler.bind(String host,
PortRange portRange,
int backlog)
Binds Transport to the specific host, and port within a
PortRange. |
| Modifier and Type | Method and Description |
|---|---|
PortRange |
NetworkListener.getPortRange() |
| Modifier and Type | Method and Description |
|---|---|
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
PortRange range) |
static HttpServer |
HttpServer.createSimpleServer(String docRoot,
String host,
PortRange range) |
| Constructor and Description |
|---|
NetworkListener(String name,
String host,
PortRange portRange)
Constructs a new
NetworkListener using the specified name, host, and
port. |
| Modifier and Type | Method and Description |
|---|---|
UDPNIOServerConnection |
UDPNIOTransport.bind(String host,
PortRange portRange,
int backlog)
Binds Transport to the specific host, and port within a
PortRange. |
TCPNIOServerConnection |
TCPNIOTransport.bind(String host,
PortRange portRange,
int backlog)
Binds Transport to the specific host, and port within a
PortRange. |
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.