Interface CometDResponse.Output

Enclosing interface:
CometDResponse

public static interface CometDResponse.Output

The sink of the response body.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(boolean last, byte[] bytes, Promise<Void> promise)
    Writes the given response bytes, notifying the given promise when the write operation is complete.
  • Method Details

    • write

      void write(boolean last, byte[] bytes, Promise<Void> promise)

      Writes the given response bytes, notifying the given promise when the write operation is complete.

      Parameters:
      last - whether the response bytes to write are the last
      bytes - the response bytes to write
      promise - the promise to notify when the write operation is complete