Package org.eclipse.jetty.alpn.client
Class ALPNClientConnectionFactory
- java.lang.Object
-
- org.eclipse.jetty.io.NegotiatingClientConnectionFactory
-
- org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory
-
- All Implemented Interfaces:
ClientConnectionFactory
public class ALPNClientConnectionFactory extends NegotiatingClientConnectionFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONNECTOR_CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description ALPNClientConnectionFactory(java.util.concurrent.Executor executor, ClientConnectionFactory connectionFactory, java.util.List<java.lang.String> protocols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context)
-
Methods inherited from class org.eclipse.jetty.io.NegotiatingClientConnectionFactory
getClientConnectionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
customize
-
-
-
-
Constructor Detail
-
ALPNClientConnectionFactory
public ALPNClientConnectionFactory(java.util.concurrent.Executor executor, ClientConnectionFactory connectionFactory, java.util.List<java.lang.String> protocols)
-
-
Method Detail
-
newConnection
public Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context)
- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
-
-