Class HttpSenderOverFCGI
java.lang.Object
org.eclipse.jetty.client.HttpSender
org.eclipse.jetty.fcgi.client.http.HttpSenderOverFCGI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpChannelOverFCGIprotected 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.HttpSender
abort, beginToHeaders, dispose, expects100Continue, getHttpExchange, headersToCommit, isFailed, proceed, queuedToBegin, relativize, reset, send, someToContent, someToSuccess, toString
-
Constructor Details
-
HttpSenderOverFCGI
-
-
Method Details
-
getHttpChannel
- Overrides:
getHttpChannelin classHttpSender
-
sendHeaders
protected 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 classHttpSender- Parameters:
exchange- the exchangecontentBuffer- the content to sendlastContent- whether the content is the last content to sendcallback- the callback to notify
-
sendContent
protected 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 classHttpSender- Parameters:
exchange- the exchangecontentBuffer- the content to sendlastContent- whether the content is the last content to sendcallback- the callback to notify
-