Transport.getOutputBuffer

Get a read-only byte buffer containing the transport's pending output. Once the client has finished getting from the output buffer, {@link #outputConsumed()} must be called.

Successive calls to this method are not guaranteed to return the same object. Once {@link #outputConsumed()} is called the buffer must not be used.

If the transport's state changes AFTER calling this method, this will not be reflected in the output buffer.

interface Transport
ByteBuffer
getOutputBuffer
()

Meta