Class ByteBufferProxy

java.lang.Object
org.apache.mina.common.ByteBuffer
org.apache.mina.common.ByteBufferProxy
All Implemented Interfaces:
Comparable<ByteBuffer>

public class ByteBufferProxy extends ByteBuffer
A ByteBuffer that wraps a buffer and proxies any operations to it.

You can think this class like a FilterOutputStream. All operations are proxied by default so that you can extend this class and override existing operations selectively. You can introduce new operations, too.