|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.util.Helper
com.noelios.restlet.ConnectorHelper
com.noelios.restlet.ServerHelper
com.noelios.restlet.http.HttpServerHelper
com.noelios.restlet.ext.simple.SimpleServerHelper
com.noelios.restlet.ext.simple.HttpsServerHelper
public class HttpsServerHelper
Simple HTTP server connector. Here is the list of additional parameters that are supported:
Parameter name | Value type | Default value | Description |
---|---|---|---|
keystorePath | String | ${user.home}/.keystore | SSL keystore path. |
keystorePassword | String | SSL keystore password. | |
keystoreType | String | JKS | SSL keystore type |
keyPassword | String | SSL key password. | |
certAlgorithm | String | SunX509 | SSL certificate algorithm. |
sslProtocol | String | TLS | SSL protocol. |
Constructor Summary | |
---|---|
HttpsServerHelper(Server server)
Constructor. |
Method Summary | |
---|---|
String |
getCertAlgorithm()
Returns the SSL certificate algorithm. |
String |
getKeyPassword()
Returns the SSL key password. |
String |
getKeystorePassword()
Returns the SSL keystore password. |
String |
getKeystorePath()
Returns the SSL keystore path. |
String |
getKeystoreType()
Returns the SSL keystore type. |
String |
getSslProtocol()
Returns the SSL keystore type. |
void |
start()
Starts the Restlet. |
Methods inherited from class com.noelios.restlet.ext.simple.SimpleServerHelper |
---|
getConnection, getDefaultThreads, getHandler, getMaxWaitTimeMs, getSocket, isConfidential, setConfidential, setConnection, setHandler, setSocket, stop |
Methods inherited from class com.noelios.restlet.http.HttpServerHelper |
---|
getConverter, handle, setConverter |
Methods inherited from class com.noelios.restlet.ServerHelper |
---|
getContext, getLogger, getParameters, getServer, handle, setServer |
Methods inherited from class com.noelios.restlet.ConnectorHelper |
---|
createContext, getProtocols |
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 server to help.Method Detail |
---|
public void start() throws Exception
start
in class ConnectorHelper
Exception
public String getKeystorePath()
public String getKeystorePassword()
public String getKeystoreType()
public String getKeyPassword()
public String getCertAlgorithm()
public String getSslProtocol()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |