DetectorConnectionFactory with a SslConnectionFactory instead.@Deprecated public class OptionalSslConnectionFactory extends DetectorConnectionFactory
A ConnectionFactory whose connections detect whether the first bytes are TLS bytes and upgrades to either a TLS connection or to another configurable connection.
AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Detecting.DetectionConnectionFactory.Detecting, ConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
OptionalSslConnectionFactory(SslConnectionFactory sslConnectionFactory,
String nextProtocol)
Deprecated.
Creates a new ConnectionFactory whose connections can upgrade to TLS or another protocol.
|
detect, newConnectiongetFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize, toStringaddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProtocol, getProtocolsdumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic OptionalSslConnectionFactory(SslConnectionFactory sslConnectionFactory, String nextProtocol)
Creates a new ConnectionFactory whose connections can upgrade to TLS or another protocol.
sslConnectionFactory - The SslConnectionFactory to use if the first bytes are TLSnextProtocol - the protocol of the ConnectionFactory to use if the first bytes are not TLS,
or null to explicitly handle the non-TLS caseCopyright © 2010 - 2020 Adobe. All Rights Reserved