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 push) |
boolean |
onIdleTimeout(long idleTimeout) |
protected void |
release(HttpChannel channel) |
protected SendFailure |
send(HttpExchange exchange) |
boolean |
sweep() |
String |
toString() |
getHttpClient, getHttpDestination, normalizeRequest, send, send
public HttpConnectionOverHTTP2(HttpDestination destination, Session session)
public Session getSession()
protected SendFailure send(HttpExchange exchange)
send
in class HttpConnection
protected HttpChannelOverHTTP2 newHttpChannel(boolean push)
protected void release(HttpChannel channel)
public boolean onIdleTimeout(long idleTimeout)
onIdleTimeout
in class HttpConnection
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Connection
protected void close(Throwable failure)
public boolean isClosed()
isClosed
in interface Connection
Connection.close()
public boolean sweep()
sweep
in interface Sweeper.Sweepable
public String toString()
toString
in class HttpConnection
Copyright © 1995–2017 Webtide. All rights reserved.