Class HttpChannelOverHTTP2
- java.lang.Object
-
- org.eclipse.jetty.client.HttpChannel
-
- org.eclipse.jetty.http2.client.http.HttpChannelOverHTTP2
-
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, boolean push)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabort(HttpExchange exchange, Throwable requestFailure, Throwable responseFailure)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()voidrelease()voidsend()voidsetStream(org.eclipse.jetty.http2.api.Stream stream)-
Methods inherited from class org.eclipse.jetty.client.HttpChannel
abortResponse, associate, disassociate, getHttpDestination, getHttpExchange, proceed, toString
-
-
-
-
Constructor Detail
-
HttpChannelOverHTTP2
public HttpChannelOverHTTP2(HttpDestination destination, HttpConnectionOverHTTP2 connection, org.eclipse.jetty.http2.api.Session session, boolean push)
-
-
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)
-
send
public void send()
- Specified by:
sendin classHttpChannel
-
release
public void release()
- Specified by:
releasein classHttpChannel
-
abort
public boolean abort(HttpExchange exchange, Throwable requestFailure, Throwable responseFailure)
- Overrides:
abortin classHttpChannel
-
exchangeTerminated
public void exchangeTerminated(HttpExchange exchange, Result result)
- Overrides:
exchangeTerminatedin classHttpChannel
-
-