public class SslConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListener
ConnectionFactory.Upgrading
Container.InheritedListener, Container.Listener
LifeCycle.Listener
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
Constructor and Description |
---|
SslConnectionFactory() |
SslConnectionFactory(SslContextFactory factory,
String nextProtocol) |
SslConnectionFactory(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.
|
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,
SSLEngine engine) |
String |
toString() |
getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSize
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public SslContextFactory getSslContextFactory()
public String getNextProtocol()
protected void doStart() throws Exception
ContainerLifeCycle
doStart
in class ContainerLifeCycle
Exception
public Connection newConnection(Connector connector, EndPoint endPoint)
ConnectionFactory
Creates a new Connection
with the given parameters
connector
- The Connector
creating this connectionendPoint
- the EndPoint
associated with the connectionConnection
protected SslConnection newSslConnection(Connector connector, EndPoint endPoint, SSLEngine engine)
protected AbstractConnection configure(AbstractConnection connection, Connector connector, EndPoint endPoint)
configure
in class AbstractConnectionFactory
public String toString()
toString
in class AbstractConnectionFactory
Copyright © 1995–2017 Webtide. All rights reserved.