public class HTTP2ClientConnectionFactory extends Object implements ClientConnectionFactory
Modifier and Type | Field and Description |
---|---|
static String |
BYTE_BUFFER_POOL_CONTEXT_KEY |
static String |
CLIENT_CONTEXT_KEY |
static String |
EXECUTOR_CONTEXT_KEY |
static String |
SCHEDULER_CONTEXT_KEY |
static String |
SESSION_LISTENER_CONTEXT_KEY |
static String |
SESSION_PROMISE_CONTEXT_KEY |
CONNECTOR_CONTEXT_KEY
Constructor and Description |
---|
HTTP2ClientConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customize
public static final String CLIENT_CONTEXT_KEY
public static final String BYTE_BUFFER_POOL_CONTEXT_KEY
public static final String EXECUTOR_CONTEXT_KEY
public static final String SCHEDULER_CONTEXT_KEY
public static final String SESSION_LISTENER_CONTEXT_KEY
public static final String SESSION_PROMISE_CONTEXT_KEY
public Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
newConnection
in interface ClientConnectionFactory
endPoint
- the EndPoint
to link the newly created connection tocontext
- the context data to create the connectionConnection
IOException
- if the connection cannot be createdCopyright © 1995–2017 Webtide. All rights reserved.