Class HttpsServerHelper


  • public class HttpsServerHelper
    extends JettyServerHelper
    Jetty 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:
    list of supported parameters
    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, Tal Liron
    See Also:
    Jetty home page, How to configure SSL for Jetty
    • Constructor Detail

      • HttpsServerHelper

        public HttpsServerHelper​(org.restlet.Server server)
        Constructor.
        Parameters:
        server - The server to help.
    • Method Detail

      • createConnectionFactories

        protected org.eclipse.jetty.server.ConnectionFactory[] createConnectionFactories​(org.eclipse.jetty.server.HttpConfiguration configuration)
        Creates new internal Jetty connection factories.
        Specified by:
        createConnectionFactories in class JettyServerHelper
        Parameters:
        configuration - The HTTP configuration.
        Returns:
        New internal Jetty connection factories.