Package org.eclipse.jetty.http2.client
Class HTTP2ClientConnectionFactory
- java.lang.Object
-
- org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory
-
- All Implemented Interfaces:
ClientConnectionFactory
public class HTTP2ClientConnectionFactory extends java.lang.Object implements ClientConnectionFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BYTE_BUFFER_POOL_CONTEXT_KEY
static java.lang.String
CLIENT_CONTEXT_KEY
static java.lang.String
EXECUTOR_CONTEXT_KEY
static java.lang.String
SCHEDULER_CONTEXT_KEY
static java.lang.String
SESSION_LISTENER_CONTEXT_KEY
static java.lang.String
SESSION_PROMISE_CONTEXT_KEY
-
Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONNECTOR_CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description HTTP2ClientConnectionFactory()
-
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
customize
-
-
-
-
Field Detail
-
CLIENT_CONTEXT_KEY
public static final java.lang.String CLIENT_CONTEXT_KEY
- See Also:
- Constant Field Values
-
BYTE_BUFFER_POOL_CONTEXT_KEY
public static final java.lang.String BYTE_BUFFER_POOL_CONTEXT_KEY
- See Also:
- Constant Field Values
-
EXECUTOR_CONTEXT_KEY
public static final java.lang.String EXECUTOR_CONTEXT_KEY
- See Also:
- Constant Field Values
-
SCHEDULER_CONTEXT_KEY
public static final java.lang.String SCHEDULER_CONTEXT_KEY
- See Also:
- Constant Field Values
-
SESSION_LISTENER_CONTEXT_KEY
public static final java.lang.String SESSION_LISTENER_CONTEXT_KEY
- See Also:
- Constant Field Values
-
SESSION_PROMISE_CONTEXT_KEY
public static final java.lang.String SESSION_PROMISE_CONTEXT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
newConnection
public Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context)
- Specified by:
newConnection
in interfaceClientConnectionFactory
- Parameters:
endPoint
- theEndPoint
to link the newly created connection tocontext
- the context data to create the connection- Returns:
- a new
Connection
-
-