public class SslConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, 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() |
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, setInputBufferSizeaddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic SslContextFactory getSslContextFactory()
public String getNextProtocol()
protected void doStart()
throws Exception
doStart in class ContainerLifeCycleExceptionpublic 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, SSLEngine engine)
protected AbstractConnection configure(AbstractConnection connection, Connector connector, EndPoint endPoint)
configure in class AbstractConnectionFactorypublic String toString()
toString in class AbstractConnectionFactoryCopyright © 1995–2017 Webtide. All rights reserved.