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