public class SslConnectionFactory extends AbstractConnectionFactory
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor and Description |
|---|
SslConnectionFactory() |
SslConnectionFactory(org.eclipse.jetty.util.ssl.SslContextFactory factory,
String nextProtocol) |
SslConnectionFactory(String nextProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
org.eclipse.jetty.util.ssl.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, updateBeanspublic SslConnectionFactory()
public SslConnectionFactory(@Name(value="next")
String nextProtocol)
public SslConnectionFactory(@Name(value="sslContextFactory")
org.eclipse.jetty.util.ssl.SslContextFactory factory,
@Name(value="next")
String nextProtocol)
public org.eclipse.jetty.util.ssl.SslContextFactory getSslContextFactory()
public void setDirectBuffersForEncryption(boolean useDirectBuffers)
public void setDirectBuffersForDecryption(boolean useDirectBuffers)
public boolean isDirectBuffersForDecryption()
public boolean isDirectBuffersForEncryption()
protected void doStart()
throws Exception
doStart in class org.eclipse.jetty.util.component.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-2019 Webtide. All Rights Reserved.