Class HttpChannelOverHTTP2
- java.lang.Object
-
- org.eclipse.jetty.client.HttpChannel
-
- org.eclipse.jetty.http2.client.http.HttpChannelOverHTTP2
-
- All Implemented Interfaces:
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, Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exchangeTerminated(HttpExchange exchange, Result result)
protected HttpConnectionOverHTTP2
getHttpConnection()
protected HttpReceiver
getHttpReceiver()
protected HttpSender
getHttpSender()
Session
getSession()
Stream
getStream()
Stream.Listener
getStreamListener()
boolean
isFailed()
void
release()
void
send(HttpExchange exchange)
void
setStream(Stream stream)
java.lang.String
toString()
-
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, Session session)
-
-
Method Detail
-
getHttpConnection
protected HttpConnectionOverHTTP2 getHttpConnection()
-
getSession
public Session getSession()
-
getStreamListener
public Stream.Listener getStreamListener()
-
getHttpSender
protected HttpSender getHttpSender()
- Specified by:
getHttpSender
in classHttpChannel
-
getHttpReceiver
protected HttpReceiver getHttpReceiver()
- Specified by:
getHttpReceiver
in classHttpChannel
-
getStream
public Stream getStream()
-
setStream
public void setStream(Stream stream)
-
isFailed
public boolean isFailed()
-
send
public void send(HttpExchange exchange)
- Specified by:
send
in classHttpChannel
-
release
public void release()
- Specified by:
release
in classHttpChannel
-
exchangeTerminated
public void exchangeTerminated(HttpExchange exchange, Result result)
- Overrides:
exchangeTerminated
in classHttpChannel
-
toString
public java.lang.String toString()
- Overrides:
toString
in classHttpChannel
-
-