Package org.eclipse.jetty.server
Class OptionalSslConnectionFactory
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.AbstractConnectionFactory
org.eclipse.jetty.server.DetectorConnectionFactory
org.eclipse.jetty.server.OptionalSslConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
,ConnectionFactory.Detecting
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
Deprecated.
A ConnectionFactory whose connections detect whether the first bytes are TLS bytes and upgrades to either a TLS connection or to another configurable connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory
ConnectionFactory.Detecting, ConnectionFactory.Upgrading
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory.Detecting
ConnectionFactory.Detecting.Detection
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionOptionalSslConnectionFactory
(SslConnectionFactory sslConnectionFactory, String nextProtocol) Deprecated.Creates a new ConnectionFactory whose connections can upgrade to TLS or another protocol. -
Method Summary
Methods inherited from class org.eclipse.jetty.server.DetectorConnectionFactory
detect, newConnection
Methods inherited from class org.eclipse.jetty.server.AbstractConnectionFactory
getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toString
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.server.ConnectionFactory
getProtocol, getProtocols
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
OptionalSslConnectionFactory
Deprecated.Creates a new ConnectionFactory whose connections can upgrade to TLS or another protocol.
- Parameters:
sslConnectionFactory
- TheSslConnectionFactory
to use if the first bytes are TLSnextProtocol
- the protocol of theConnectionFactory
to use if the first bytes are not TLS, or null to explicitly handle the non-TLS case
-
DetectorConnectionFactory
with aSslConnectionFactory
instead.