public class SslConnectionFactory extends AbstractConnectionFactory
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerConnectionFactory.Upgrading| Constructor and Description |
|---|
SslConnectionFactory() |
SslConnectionFactory(org.eclipse.jetty.util.ssl.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() |
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() |
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, 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()
public String getNextProtocol()
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)
protected AbstractConnection configure(AbstractConnection connection, Connector connector, EndPoint endPoint)
configure in class AbstractConnectionFactorypublic String toString()
toString in class AbstractConnectionFactoryCopyright © 1995–2021 Webtide. All rights reserved.