public class ALPNServerConnectionFactory extends NegotiatingServerConnectionFactory implements SslHandshakeListener
AbstractLifeCycle.AbstractLifeCycleListenerSslHandshakeListener.EventConnectionFactory.UpgradingContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
ALPNServerConnectionFactory(String... protocols) |
ALPNServerConnectionFactory(String protocols) |
| Modifier and Type | Method and Description |
|---|---|
ALPNProcessor.Server |
getALPNProcessor() |
void |
handshakeFailed(SslHandshakeListener.Event event,
Throwable failure)
Callback method invoked when the TLS handshake fails.
|
void |
handshakeSucceeded(SslHandshakeListener.Event event)
Callback method invoked when the TLS handshake succeeds.
|
protected AbstractConnection |
newServerConnection(Connector connector,
EndPoint endPoint,
SSLEngine engine,
List<String> protocols,
String defaultProtocol) |
checkProtocolNegotiationAvailable, getDefaultProtocol, getNegotiatedProtocols, newConnection, setDefaultProtocol, toStringconfigure, getFactories, getInputBufferSize, getProtocol, getProtocols, setInputBufferSizeaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, 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 ALPNServerConnectionFactory(String protocols)
public ALPNProcessor.Server getALPNProcessor()
protected AbstractConnection newServerConnection(Connector connector, EndPoint endPoint, SSLEngine engine, List<String> protocols, String defaultProtocol)
newServerConnection in class NegotiatingServerConnectionFactorypublic void handshakeSucceeded(SslHandshakeListener.Event event)
SslHandshakeListenerCallback method invoked when the TLS handshake succeeds.
handshakeSucceeded in interface SslHandshakeListenerevent - the event object carrying information about the TLS handshake eventpublic void handshakeFailed(SslHandshakeListener.Event event, Throwable failure)
SslHandshakeListenerCallback method invoked when the TLS handshake fails.
handshakeFailed in interface SslHandshakeListenerevent - the event object carrying information about the TLS handshake eventfailure - the failure that caused the TLS handshake to failCopyright © 1995–2017 Webtide. All rights reserved.