public class HttpEmbed extends PortEmbed
| Constructor and Description |
|---|
HttpEmbed()
Creates a new HttpEmbed configuration.
|
HttpEmbed(int port)
Creates a new HttpEmbed configuration with a specified port.
|
HttpEmbed(int port,
java.lang.String ipAddress)
Creates a new HttpEmbed configuration with a specified port.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(ServletService server)
Binds the port to the server
|
int |
getLocalPort()
Returns the local, bound port
|
getAddress, getPort, setAddress, setPortpublic HttpEmbed()
public HttpEmbed(int port)
port - the TCP port of the embedded HTTP port.public HttpEmbed(int port,
java.lang.String ipAddress)
port - the TCP port of the embedded HTTP port.address - the TCP IP address of the embedded HTTP port.public int getLocalPort()
getLocalPort in class PortEmbedpublic void bindTo(ServletService server)