public class HttpConnectionOverHTTP2 extends HttpConnection implements Sweeper.Sweepable
| Constructor and Description |
|---|
HttpConnectionOverHTTP2(HttpDestination destination,
Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
close(Throwable failure) |
Session |
getSession() |
boolean |
isClosed() |
protected HttpChannelOverHTTP2 |
newHttpChannel() |
boolean |
onIdleTimeout(long idleTimeout) |
protected void |
release(HttpChannel channel) |
protected SendFailure |
send(HttpExchange exchange) |
boolean |
sweep() |
String |
toString() |
getHttpClient, getHttpDestination, normalizeRequest, send, sendpublic HttpConnectionOverHTTP2(HttpDestination destination, Session session)
public Session getSession()
protected SendFailure send(HttpExchange exchange)
send in class HttpConnectionprotected HttpChannelOverHTTP2 newHttpChannel()
protected void release(HttpChannel channel)
public boolean onIdleTimeout(long idleTimeout)
onIdleTimeout in class HttpConnectionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionprotected void close(Throwable failure)
public boolean isClosed()
isClosed in interface Connectionpublic boolean sweep()
sweep in interface Sweeper.Sweepablepublic String toString()
toString in class HttpConnectionCopyright © 1995–2016 Webtide. All rights reserved.