public class HttpConnectionOverHTTP2 extends HttpConnection implements Sweeper.Sweepable
| Constructor and Description |
|---|
HttpConnectionOverHTTP2(HttpDestination destination,
Session session) |
| Modifier and Type | Method and Description |
|---|---|
protected HttpChannelOverHTTP2 |
acquireHttpChannel() |
void |
close() |
protected void |
close(java.lang.Throwable failure) |
Session |
getSession() |
boolean |
isClosed() |
protected HttpChannelOverHTTP2 |
newHttpChannel() |
boolean |
onIdleTimeout(long idleTimeout) |
protected void |
release(HttpChannelOverHTTP2 channel) |
protected SendFailure |
send(HttpExchange exchange) |
boolean |
sweep() |
java.lang.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 acquireHttpChannel()
protected HttpChannelOverHTTP2 newHttpChannel()
protected void release(HttpChannelOverHTTP2 channel)
public boolean onIdleTimeout(long idleTimeout)
onIdleTimeout in class HttpConnectionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface Connectionprotected void close(java.lang.Throwable failure)
public boolean isClosed()
isClosed in interface ConnectionConnection.close()public boolean sweep()
sweep in interface Sweeper.Sweepablepublic java.lang.String toString()
toString in class HttpConnectionCopyright © 1995–2018 Webtide. All rights reserved.