@ManagedObject(value="The HTTP/2 client transport") public class HttpClientTransportOverHTTP2 extends ContainerLifeCycle implements HttpClientTransport
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGHTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY| Constructor and Description |
|---|
HttpClientTransportOverHTTP2(HTTP2Client client) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(InetSocketAddress address,
Map<String,Object> context) |
protected void |
doStart() |
protected void |
doStop() |
int |
getSelectors() |
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
protected HttpConnectionOverHTTP2 |
newHttpConnection(HttpDestination destination,
Session session) |
HttpDestination |
newHttpDestination(Origin origin) |
void |
setHttpClient(HttpClient client) |
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic HttpClientTransportOverHTTP2(HTTP2Client client)
@ManagedAttribute(value="The number of selectors", readonly=true) public int getSelectors()
protected void doStart()
throws Exception
doStart in class ContainerLifeCycleExceptionprotected void doStop()
throws Exception
doStop in class ContainerLifeCycleExceptionpublic void setHttpClient(HttpClient client)
setHttpClient in interface HttpClientTransportpublic HttpDestination newHttpDestination(Origin origin)
newHttpDestination in interface HttpClientTransportpublic void connect(InetSocketAddress address, Map<String,Object> context)
connect in interface HttpClientTransportpublic Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
newConnection in interface ClientConnectionFactoryIOExceptionprotected HttpConnectionOverHTTP2 newHttpConnection(HttpDestination destination, Session session)
Copyright © 1995-2016 Webtide. All Rights Reserved.