Class HttpConnectionOverHTTP2
- java.lang.Object
-
- org.eclipse.jetty.client.HttpConnection
-
- org.eclipse.jetty.http2.client.http.HttpConnectionOverHTTP2
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.eclipse.jetty.client.api.Connection,org.eclipse.jetty.util.thread.Sweeper.Sweepable
public class HttpConnectionOverHTTP2 extends org.eclipse.jetty.client.HttpConnection implements org.eclipse.jetty.util.thread.Sweeper.Sweepable
-
-
Constructor Summary
Constructors Constructor Description HttpConnectionOverHTTP2(org.eclipse.jetty.client.HttpDestination destination, org.eclipse.jetty.http2.api.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpChannelOverHTTP2acquireHttpChannel()voidclose()protected voidclose(java.lang.Throwable failure)org.eclipse.jetty.http2.api.SessiongetSession()booleanisClosed()protected HttpChannelOverHTTP2newHttpChannel()booleanonIdleTimeout(long idleTimeout)protected voidrelease(HttpChannelOverHTTP2 channel)protected org.eclipse.jetty.client.SendFailuresend(org.eclipse.jetty.client.HttpExchange exchange)booleansweep()java.lang.StringtoString()
-
-
-
Method Detail
-
getSession
public org.eclipse.jetty.http2.api.Session getSession()
-
send
protected org.eclipse.jetty.client.SendFailure send(org.eclipse.jetty.client.HttpExchange exchange)
- Specified by:
sendin classorg.eclipse.jetty.client.HttpConnection
-
acquireHttpChannel
protected HttpChannelOverHTTP2 acquireHttpChannel()
-
newHttpChannel
protected HttpChannelOverHTTP2 newHttpChannel()
-
release
protected void release(HttpChannelOverHTTP2 channel)
-
onIdleTimeout
public boolean onIdleTimeout(long idleTimeout)
- Overrides:
onIdleTimeoutin classorg.eclipse.jetty.client.HttpConnection
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceorg.eclipse.jetty.client.api.Connection
-
close
protected void close(java.lang.Throwable failure)
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceorg.eclipse.jetty.client.api.Connection
-
sweep
public boolean sweep()
- Specified by:
sweepin interfaceorg.eclipse.jetty.util.thread.Sweeper.Sweepable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.jetty.client.HttpConnection
-
-