public class HttpsServerHelper extends NettyServerHelper
| Parameter name | Value type | Default value | Description |
|---|---|---|---|
| certAlgorithm | String | SunX509 | SSL certificate algorithm |
| keyPassword | String | SSL key password | |
| keystorePassword | String | SSL keystore password | |
| keystorePath | String | ${user.home}/.keystore | SSL keystore path |
| keystoreType | String | JKS | SSL keystore type |
| sslProtocol | String | TLS | SSL protocol |
| needClientAuthentication | boolean | false | Indicates if we require client certificate authentication |
| wantClientAuthentication | boolean | false | Indicates if we would like client certificate authentication |
| Constructor and Description |
|---|
HttpsServerHelper(Server server)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCertAlgorithm()
Deprecated.
|
java.lang.String |
getKeyPassword()
Deprecated.
|
java.lang.String |
getKeystorePassword()
Deprecated.
|
java.lang.String |
getKeystorePath()
Deprecated.
|
java.lang.String |
getKeystoreType()
Deprecated.
|
org.jboss.netty.channel.ChannelPipelineFactory |
getPipelineFatory()
Returns the Netty pipeline factory.
|
javax.net.ssl.SSLContext |
getSslContext()
Gets the SSL context used by this server.
|
java.lang.String |
getSslProtocol()
Deprecated.
|
boolean |
isNeedClientAuthentication()
Indicates if we require client certificate authentication.
|
boolean |
isWantClientAuthentication()
Indicates if we would like client certificate authentication.
|
void |
setSslContext(javax.net.ssl.SSLContext sslContext)
Sets the SSL context for the server.
|
void |
start()
Start callback.
|
stopgetAdapter, handle, setAdapterhandle, setEphemeralPort, setEphemeralPortgetConnectorService, getContext, getProtocols, updategetAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelpedpublic HttpsServerHelper(Server server)
server - The helped server.@Deprecated public java.lang.String getCertAlgorithm()
@Deprecated public java.lang.String getKeyPassword()
@Deprecated public java.lang.String getKeystorePassword()
@Deprecated public java.lang.String getKeystorePath()
@Deprecated public java.lang.String getKeystoreType()
public org.jboss.netty.channel.ChannelPipelineFactory getPipelineFatory()
NettyServerHelpergetPipelineFatory in class NettyServerHelperpublic javax.net.ssl.SSLContext getSslContext()
@Deprecated public java.lang.String getSslProtocol()
public boolean isNeedClientAuthentication()
public boolean isWantClientAuthentication()
public void setSslContext(javax.net.ssl.SSLContext sslContext)
sslContext - the SSL contextpublic void start()
throws java.lang.Exception
RestletHelperstart in class NettyServerHelperjava.lang.ExceptionCopyright © 2005-2012. All Rights Reserved.