Class HttpSenderOverHTTP2
java.lang.Object
org.eclipse.jetty.client.HttpSender
org.eclipse.jetty.http2.client.http.HttpSenderOverHTTP2
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected HttpChannelOverHTTP2protected voidsendContent(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Implementations should send the given HTTP content over the wire.protected voidsendHeaders(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Implementations should send the HTTP headers over the wire, possibly with some content, in a single write, and notify the givencallbackof the result of this operation.Methods inherited from class org.eclipse.jetty.client.HttpSenderabort, beginToHeaders, dispose, expects100Continue, getHttpExchange, headersToCommit, isFailed, proceed, queuedToBegin, relativize, reset, send, someToContent, someToSuccess, toString
- 
Constructor Details- 
HttpSenderOverHTTP2
 
- 
- 
Method Details- 
getHttpChannel- Overrides:
- getHttpChannelin class- HttpSender
 
- 
sendHeadersprotected void sendHeaders(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Description copied from class:HttpSenderImplementations should send the HTTP headers over the wire, possibly with some content, in a single write, and notify the given callbackof the result of this operation.If there is more content to send, then HttpSender.sendContent(HttpExchange, ByteBuffer, boolean, Callback)will be invoked.- Specified by:
- sendHeadersin class- HttpSender
- Parameters:
- exchange- the exchange
- contentBuffer- the content to send
- lastContent- whether the content is the last content to send
- callback- the callback to notify
 
- 
sendContentprotected void sendContent(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Description copied from class:HttpSenderImplementations should send the given HTTP content over the wire. - Specified by:
- sendContentin class- HttpSender
- Parameters:
- exchange- the exchange
- contentBuffer- the content to send
- lastContent- whether the content is the last content to send
- callback- the callback to notify
 
 
-