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.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory
ConnectionFactory.Detecting, ConnectionFactory.UpgradingNested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory.Detecting
ConnectionFactory.Detecting.DetectionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested 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, newConnectionMethods inherited from class org.eclipse.jetty.server.AbstractConnectionFactory
getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringMethods 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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.server.ConnectionFactory
getProtocol, getProtocolsMethods 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- TheSslConnectionFactoryto use if the first bytes are TLSnextProtocol- the protocol of theConnectionFactoryto use if the first bytes are not TLS, or null to explicitly handle the non-TLS case
-
DetectorConnectionFactorywith aSslConnectionFactoryinstead.