org.restlet.engine.connector
Class HttpsServerHelper
java.lang.Object
org.restlet.engine.Helper
org.restlet.engine.RestletHelper<T>
org.restlet.engine.connector.ConnectorHelper<Server>
org.restlet.engine.connector.ServerHelper
org.restlet.engine.adapter.HttpServerHelper
org.restlet.engine.connector.NetServerHelper
org.restlet.engine.connector.HttpsServerHelper
public class HttpsServerHelper
- extends NetServerHelper
Internal HTTPS server connector. 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 |
org.restlet.engine.ssl.DefaultSslContextFactory |
Let you specify a SslContextFactory qualified class name as a
parameter, or an instance as an attribute for a more complete and flexible
SSL context setting. |
For the default SSL parameters see the Javadocs of the
DefaultSslContextFactory
class.
- Author:
- Jerome Louvel
Method Summary |
void |
start()
Starts the Restlet. |
void |
stop()
Stop callback. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsServerHelper
public HttpsServerHelper(Server server)
- Constructor.
- Parameters:
server
- The server to help.
start
public void start()
throws Exception
- Starts the Restlet.
- Overrides:
start
in class NetServerHelper
- Throws:
Exception
stop
public void stop()
throws Exception
- Description copied from class:
RestletHelper
- Stop callback.
- Overrides:
stop
in class NetServerHelper
- Throws:
Exception
Copyright © 2005-2014 Restlet.