Interface StreamingDataOutputPlus.BufferSupplier

Enclosing interface:
StreamingDataOutputPlus

public static interface StreamingDataOutputPlus.BufferSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int capacity)
    Request a buffer with at least the given capacity.
  • Method Details

    • get

      ByteBuffer get(int capacity) throws IOException
      Request a buffer with at least the given capacity. This method may only be invoked once, and the lifetime of buffer it returns will be managed by the AsyncChannelOutputPlus it was created for.
      Throws:
      IOException