Package org.restlet.ext.jetty
Class HttpsServerHelper
- java.lang.Object
-
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:
For the default SSL parameters see the Javadocs of theParameter name Value type Default value Description sslContextFactory String org.restlet.engine.ssl.DefaultSslContextFactory Let you specify a SslContextFactoryqualified class name as a parameter, or an instance as an attribute for a more complete and flexible SSL context settingDefaultSslContextFactoryclass.- See Also:
- Jetty home page, How to configure SSL for Jetty
-
-
Constructor Summary
Constructors Constructor Description HttpsServerHelper(Server server)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.jetty.server.ConnectionFactory[]createConnectionFactories(org.eclipse.jetty.server.HttpConfiguration configuration)Creates new internal Jetty connection factories.-
Methods inherited from class org.restlet.ext.jetty.JettyServerHelper
getConnectorAcceptors, getConnectorAcceptQueueSize, getConnectorByteBufferPool, getConnectorExecutor, getConnectorIdleTimeout, getConnectorScheduler, getConnectorSelectors, getConnectorSoLingerTime, getConnectorStopTimeout, getHttpHeaderCacheSize, getHttpOutputBufferSize, getHttpRequestHeaderSize, getHttpResponseHeaderSize, getLowResourceMonitorIdleTimeout, getLowResourceMonitorMaxConnections, getLowResourceMonitorMaxMemory, getLowResourceMonitorPeriod, getLowResourceMonitorStopTimeout, getLowResourceMonitorThreads, getThreadPoolIdleTimeout, getThreadPoolMaxThreads, getThreadPoolMinThreads, getThreadPoolStopTimeout, getThreadPoolThreadsPriority, getWrappedServer, setWrappedServer, start, stop
-
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
-
-
-
-
Constructor Detail
-
HttpsServerHelper
public HttpsServerHelper(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:
createConnectionFactoriesin classJettyServerHelper- Parameters:
configuration- The HTTP configuration.- Returns:
- New internal Jetty connection factories.
-
-