Class HttpSenderOverFCGI

java.lang.Object
org.eclipse.jetty.client.HttpSender
org.eclipse.jetty.fcgi.client.http.HttpSenderOverFCGI

public class HttpSenderOverFCGI extends HttpSender
  • Constructor Details

    • HttpSenderOverFCGI

      public HttpSenderOverFCGI(HttpChannel channel)
  • Method Details

    • getHttpChannel

      protected HttpChannelOverFCGI getHttpChannel()
      Overrides:
      getHttpChannel in class HttpSender
    • sendHeaders

      protected void sendHeaders(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback)
      Description copied from class: HttpSender

      Implementations should send the HTTP headers over the wire, possibly with some content, in a single write, and notify the given callback of the result of this operation.

      If there is more content to send, then HttpSender.sendContent(HttpExchange, ByteBuffer, boolean, Callback) will be invoked.

      Specified by:
      sendHeaders in 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
    • sendContent

      protected void sendContent(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback)
      Description copied from class: HttpSender

      Implementations should send the given HTTP content over the wire.

      Specified by:
      sendContent in 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