public class ALPNClientConnectionFactory extends NegotiatingClientConnectionFactory implements SslHandshakeListener
SslHandshakeListener.EventCONNECTOR_CONTEXT_KEY| Constructor and Description |
|---|
ALPNClientConnectionFactory(java.util.concurrent.Executor executor,
ClientConnectionFactory connectionFactory,
java.util.List<java.lang.String> protocols) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
getClientConnectionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandshakeFailed, handshakeSucceededcustomizepublic ALPNClientConnectionFactory(java.util.concurrent.Executor executor,
ClientConnectionFactory connectionFactory,
java.util.List<java.lang.String> protocols)
public Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
newConnection in interface ClientConnectionFactoryendPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionjava.io.IOException - if the connection cannot be createdCopyright © 1995–2018 Webtide. All rights reserved.