public class SslConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
_nextProtocol |
private SslContextFactory |
_sslContextFactory |
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
SslConnectionFactory() |
SslConnectionFactory(SslContextFactory factory,
java.lang.String nextProtocol) |
SslConnectionFactory(java.lang.String nextProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractConnection |
configure(AbstractConnection connection,
Connector connector,
EndPoint endPoint) |
protected void |
doStart()
Starts the managed lifecycle beans in the order they were added.
|
java.lang.String |
getNextProtocol() |
SslContextFactory |
getSslContextFactory() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
protected SslConnection |
newSslConnection(Connector connector,
EndPoint endPoint,
javax.net.ssl.SSLEngine engine) |
java.lang.String |
toString() |
getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSizeaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopprivate final SslContextFactory _sslContextFactory
private final java.lang.String _nextProtocol
public SslConnectionFactory()
public SslConnectionFactory(@Name(value="sslContextFactory") SslContextFactory factory, @Name(value="next") java.lang.String nextProtocol)
public SslContextFactory getSslContextFactory()
public java.lang.String getNextProtocol()
protected void doStart()
throws java.lang.Exception
ContainerLifeCycledoStart in class ContainerLifeCyclejava.lang.Exceptionpublic Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactoryCreates a new Connection with the given parameters
connector - The Connector creating this connectionendPoint - the EndPoint associated with the connectionConnectionprotected SslConnection newSslConnection(Connector connector, EndPoint endPoint, javax.net.ssl.SSLEngine engine)
protected AbstractConnection configure(AbstractConnection connection, Connector connector, EndPoint endPoint)
configure in class AbstractConnectionFactorypublic java.lang.String toString()
toString in class AbstractConnectionFactory