Class HttpConnectionOverHTTP2
- java.lang.Object
-
- org.eclipse.jetty.client.HttpConnection
-
- org.eclipse.jetty.http2.client.http.HttpConnectionOverHTTP2
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Connection
public class HttpConnectionOverHTTP2 extends HttpConnection
-
-
Constructor Summary
Constructors Constructor Description HttpConnectionOverHTTP2(HttpDestination destination, org.eclipse.jetty.http2.api.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidclose(Throwable failure)org.eclipse.jetty.http2.api.SessiongetSession()booleanisClosed()protected HttpChannelOverHTTP2newHttpChannel(boolean push)booleanonIdleTimeout(long idleTimeout)protected voidrelease(HttpChannel channel)protected SendFailuresend(HttpExchange exchange)StringtoString()-
Methods inherited from class org.eclipse.jetty.client.HttpConnection
getHttpClient, getHttpDestination, normalizeRequest, send, send
-
-
-
-
Constructor Detail
-
HttpConnectionOverHTTP2
public HttpConnectionOverHTTP2(HttpDestination destination, org.eclipse.jetty.http2.api.Session session)
-
-
Method Detail
-
getSession
public org.eclipse.jetty.http2.api.Session getSession()
-
send
protected SendFailure send(HttpExchange exchange)
- Specified by:
sendin classHttpConnection
-
newHttpChannel
protected HttpChannelOverHTTP2 newHttpChannel(boolean push)
-
release
protected void release(HttpChannel channel)
-
onIdleTimeout
public boolean onIdleTimeout(long idleTimeout)
- Overrides:
onIdleTimeoutin classHttpConnection
-
close
public void close()
-
close
protected void close(Throwable failure)
-
isClosed
public boolean isClosed()
-
toString
public String toString()
- Overrides:
toStringin classHttpConnection
-
-