Class HttpChannelOverHTTP2
- java.lang.Object
-
- org.eclipse.jetty.client.HttpChannel
-
- org.eclipse.jetty.http2.client.http.HttpChannelOverHTTP2
-
- All Implemented Interfaces:
org.eclipse.jetty.io.CyclicTimeouts.Expirable
public class HttpChannelOverHTTP2 extends HttpChannel
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.client.HttpChannel
LOG
-
-
Constructor Summary
Constructors Constructor Description HttpChannelOverHTTP2(HttpDestination destination, HttpConnectionOverHTTP2 connection, org.eclipse.jetty.http2.api.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexchangeTerminated(HttpExchange exchange, Result result)protected HttpConnectionOverHTTP2getHttpConnection()protected HttpReceivergetHttpReceiver()protected HttpSendergetHttpSender()org.eclipse.jetty.http2.api.SessiongetSession()org.eclipse.jetty.http2.api.StreamgetStream()org.eclipse.jetty.http2.api.Stream.ListenergetStreamListener()booleanisFailed()voidrelease()voidsend(HttpExchange exchange)voidsetStream(org.eclipse.jetty.http2.api.Stream stream)java.lang.StringtoString()-
Methods inherited from class org.eclipse.jetty.client.HttpChannel
abort, abortResponse, associate, destroy, disassociate, exchangeTerminating, getExpireNanoTime, getHttpDestination, getHttpExchange, proceed, send
-
-
-
-
Constructor Detail
-
HttpChannelOverHTTP2
public HttpChannelOverHTTP2(HttpDestination destination, HttpConnectionOverHTTP2 connection, org.eclipse.jetty.http2.api.Session session)
-
-
Method Detail
-
getHttpConnection
protected HttpConnectionOverHTTP2 getHttpConnection()
-
getSession
public org.eclipse.jetty.http2.api.Session getSession()
-
getStreamListener
public org.eclipse.jetty.http2.api.Stream.Listener getStreamListener()
-
getHttpSender
protected HttpSender getHttpSender()
- Specified by:
getHttpSenderin classHttpChannel
-
getHttpReceiver
protected HttpReceiver getHttpReceiver()
- Specified by:
getHttpReceiverin classHttpChannel
-
getStream
public org.eclipse.jetty.http2.api.Stream getStream()
-
setStream
public void setStream(org.eclipse.jetty.http2.api.Stream stream)
-
isFailed
public boolean isFailed()
-
send
public void send(HttpExchange exchange)
- Specified by:
sendin classHttpChannel
-
release
public void release()
- Specified by:
releasein classHttpChannel
-
exchangeTerminated
public void exchangeTerminated(HttpExchange exchange, Result result)
- Overrides:
exchangeTerminatedin classHttpChannel
-
toString
public java.lang.String toString()
- Overrides:
toStringin classHttpChannel
-
-