|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.Helper
org.restlet.engine.RestletHelper<T>
org.restlet.engine.ConnectorHelper<Server>
org.restlet.engine.ServerHelper
org.restlet.engine.http.HttpServerHelper
org.restlet.ext.grizzly.GrizzlyServerHelper
org.restlet.ext.grizzly.HttpsServerHelper
public class HttpsServerHelper
HTTPS connector based on Grizzly. Here is the list of additional parameters that are supported. They should be set in the Server's context before it is started:
Parameter name | Value type | Default value | Description |
---|---|---|---|
sslContextFactory | String | null | Let you specify a SslContextFactory class name as a parameter, or
an instance as an attribute for a more complete and flexible SSL context
setting. If set, it takes precedence over the other SSL parameters below. |
keystorePath | String | ${user.home}/.keystore | SSL keystore path. |
keystorePassword | String | SSL keystore password. | |
keystoreType | String | JKS | SSL keystore type |
keyPassword | String | ${keystorePassword} | SSL key password. |
certAlgorithm | String | SunX509 | SSL certificate algorithm. |
enabledCipherSuites | String | null | Whitespace-separated list of enabled cipher suites and/or can be specified multiple times. |
needClientAuthentication | boolean | false | Indicates if we require client certificate authentication. |
sslProtocol | String | TLS | SSL protocol. |
wantClientAuthentication | boolean | false | Indicates if we would like client certificate authentication (only for the BIO connector type). |
Constructor Summary | |
---|---|
HttpsServerHelper(Server server)
Constructor. |
Method Summary | |
---|---|
protected void |
configure(com.sun.grizzly.Controller controller)
Configures the Grizzly controller. |
String |
getCertAlgorithm()
Deprecated. |
String |
getKeyPassword()
Deprecated. |
String |
getKeystorePassword()
Deprecated. |
String |
getKeystorePath()
Deprecated. |
String |
getKeystoreType()
Deprecated. |
String |
getSslProtocol()
Deprecated. |
boolean |
isNeedClientAuthentication()
Indicates if we require client certificate authentication. |
boolean |
isWantClientAuthentication()
Indicates if we would like client certificate authentication. |
Methods inherited from class org.restlet.ext.grizzly.GrizzlyServerHelper |
---|
getSelectorHandler, start, stop |
Methods inherited from class org.restlet.engine.http.HttpServerHelper |
---|
getAdapter, handle, setAdapter |
Methods inherited from class org.restlet.engine.ServerHelper |
---|
handle, setEphemeralPort, setEphemeralPort |
Methods inherited from class org.restlet.engine.ConnectorHelper |
---|
getConnectorService, getContext, getProtocols, update |
Methods inherited from class org.restlet.engine.RestletHelper |
---|
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpsServerHelper(Server server)
server
- The helped server.Method Detail |
---|
protected void configure(com.sun.grizzly.Controller controller) throws Exception
GrizzlyServerHelper
configure
in class GrizzlyServerHelper
controller
- The controller to configure.
Exception
@Deprecated public String getCertAlgorithm()
@Deprecated public String getKeyPassword()
@Deprecated public String getKeystorePassword()
@Deprecated public String getKeystorePath()
@Deprecated public String getKeystoreType()
@Deprecated public String getSslProtocol()
public boolean isNeedClientAuthentication()
public boolean isWantClientAuthentication()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |