Interface BrotliSink

All Known Implementing Classes:
ChannelBrotliSink

public interface BrotliSink
Sink for compressed Brotli output produced by BrotliEncoder or BrotliWriter.

The buffer is valid only during the callback.

Author:
Chris Burdess
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Receives a chunk of compressed bytes.
  • Method Details

    • compressed

      void compressed(ByteBuffer data) throws BrotliException
      Receives a chunk of compressed bytes.
      Parameters:
      data - compressed bytes in read mode (valid only during this call)
      Throws:
      BrotliException - if the sink aborts