public class SslConnectionFactory extends AbstractConnectionFactory
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
SslConnectionFactory() |
SslConnectionFactory(SslContextFactory factory,
String nextProtocol) |
SslConnectionFactory(String nextProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Starts the managed lifecycle beans in the order they were added.
|
SslContextFactory |
getSslContextFactory() |
boolean |
isDirectBuffersForDecryption() |
boolean |
isDirectBuffersForEncryption() |
Connection |
newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
protected SslConnection |
newSslConnection(Connector connector,
EndPoint endPoint,
SSLEngine engine) |
void |
setDirectBuffersForDecryption(boolean useDirectBuffers) |
void |
setDirectBuffersForEncryption(boolean useDirectBuffers) |
String |
toString() |
configure, getFactories, getInputBufferSize, getProtocol, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic SslContextFactory getSslContextFactory()
public void setDirectBuffersForEncryption(boolean useDirectBuffers)
public void setDirectBuffersForDecryption(boolean useDirectBuffers)
public boolean isDirectBuffersForDecryption()
public boolean isDirectBuffersForEncryption()
protected void doStart()
throws Exception
ContainerLifeCycledoStart 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)
public String toString()
toString in class AbstractConnectionFactoryCopyright © 1995-2020 Webtide. All Rights Reserved.