Restlet Framework 2.2.1
OSGi Environments

org.restlet.engine.connector
Class HttpsServerHelper

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by org.restlet.engine.RestletHelper<T>
          extended by org.restlet.engine.connector.ConnectorHelper<Server>
              extended by org.restlet.engine.connector.ServerHelper
                  extended by org.restlet.engine.adapter.HttpServerHelper
                      extended by org.restlet.engine.connector.NetServerHelper
                          extended by 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

Constructor Summary
HttpsServerHelper(Server server)
          Constructor.
 
Method Summary
 void start()
          Starts the Restlet.
 void stop()
          Stop callback.
 
Methods inherited from class org.restlet.engine.connector.NetServerHelper
getAddress, isConfidential, setAddress, setConfidential
 
Methods inherited from class org.restlet.engine.adapter.HttpServerHelper
getAdapter, handle, setAdapter
 
Methods inherited from class org.restlet.engine.connector.ServerHelper
handle, setEphemeralPort, setEphemeralPort
 
Methods inherited from class org.restlet.engine.connector.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 NetServerHelper
Throws:
Exception

stop

public void stop()
          throws Exception
Description copied from class: RestletHelper
Stop callback.

Overrides:
stop in class NetServerHelper
Throws:
Exception

Restlet Framework 2.2.1
OSGi Environments

Copyright © 2005-2014 Restlet.