org.restlet.ext.simple
Class HttpsServerHelper

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by org.restlet.engine.RestletHelper<T>
          extended by org.restlet.engine.ConnectorHelper<Server>
              extended by org.restlet.engine.ServerHelper
                  extended by org.restlet.engine.adapter.HttpServerHelper
                      extended by org.restlet.ext.simple.SimpleServerHelper
                          extended by org.restlet.ext.simple.HttpsServerHelper

public class HttpsServerHelper
extends SimpleServerHelper

Simple HTTP 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.ext.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:
Lars Heuer, Jerome Louvel

Constructor Summary
HttpsServerHelper(Server server)
          Constructor.
 
Method Summary
 void start()
          Starts the Restlet.
 
Methods inherited from class org.restlet.ext.simple.SimpleServerHelper
getAddress, getConnection, getContainerServer, getDefaultThreads, isConfidential, setAddress, setConfidential, setConnection, setContainerServer, stop
 
Methods inherited from class org.restlet.engine.adapter.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

HttpsServerHelper

public HttpsServerHelper(Server server)
Constructor.

Parameters:
server - The server to help.
Method Detail

start

public void start()
           throws Exception
Starts the Restlet.

Overrides:
start in class SimpleServerHelper
Throws:
Exception


Copyright © 2005-2013 Restlet.