netty5/buffer/src/main/java/io/netty/buffer/api
Chris Vest 0973673fce
Make CompositeBuffer an interface (#11687)
Motivation:
Having composite buffer as a class has caused problems in the past.
Making it an interface makes it possible to stub or decorate the composite buffer implementation.

Modification:
Make CompositeBuffer an interface, and move the implementation to DefaultCompositeBuffer.
Then hide the implementation and permit construction only through static factory methods.

Result:
CompositeBuffer is now an interface.
2021-09-16 13:25:45 +02:00
..
adaptor Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
bytebuffer Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
internal Add CompositeBuffer.decomposeBuffer method (#11683) 2021-09-15 16:38:43 +02:00
pool Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
unsafe Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
AllocationType.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
AllocatorControl.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
Buffer.java Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
BufferAccessor.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
BufferAllocator.java Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
BufferClosedException.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
BufferHolder.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
BufferReadOnlyException.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
BufferRef.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
BufferStub.java Buffer should not expose nativeAddress() directly (#11665) 2021-09-08 20:02:59 +02:00
ByteCursor.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
CompositeBuffer.java Make CompositeBuffer an interface (#11687) 2021-09-16 13:25:45 +02:00
DefaultCompositeBuffer.java Make CompositeBuffer an interface (#11687) 2021-09-16 13:25:45 +02:00
DefaultGlobalBufferAllocator.java Add `Channel#bufferAllocator()` (#11651) 2021-09-03 11:05:26 -07:00
Drop.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
ManagedBufferAllocator.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
MemoryManager.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
Owned.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
ReadableComponent.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
ReadableComponentProcessor.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
Resource.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
Send.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
StandardAllocationTypes.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
WritableComponent.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
WritableComponentProcessor.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00
package-info.java Introduce alternative Buffer API (#11347) 2021-06-28 12:06:44 +02:00