public class HttpsEmbed extends PortEmbed
| Constructor and Description |
|---|
HttpsEmbed()
Creates a new HttpEmbed configuration.
|
HttpsEmbed(int port)
Creates a new HttpEmbed configuration with a specified port.
|
HttpsEmbed(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
|
HttpsEmbed |
setAlias(java.lang.String alias) |
HttpsEmbed |
setKeyStoreFile(java.lang.String path) |
HttpsEmbed |
setKeyStoreType(java.lang.String keyStoreType) |
HttpsEmbed |
setPassword(java.lang.String password) |
getAddress, getPort, setAddress, setPortpublic HttpsEmbed()
public HttpsEmbed(int port)
port - the TCP port of the embedded HTTP port.public HttpsEmbed(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 HttpsEmbed setKeyStoreFile(java.lang.String path)
public HttpsEmbed setAlias(java.lang.String alias)
public HttpsEmbed setPassword(java.lang.String password)
public HttpsEmbed setKeyStoreType(java.lang.String keyStoreType)
public void bindTo(ServletService server)