Interface ReadableByteChannelDecorator<T extends ReadableByteChannel>
- All Superinterfaces:
AutoCloseable, Channel, Closeable, ReadableByteChannel
- All Known Implementing Classes:
ReadableByteChannelDecoratorBase, ReadableByteChannelWithConditionalBound, ReadableByteChannelWithLimitByNewline
public interface ReadableByteChannelDecorator<T extends ReadableByteChannel>
extends ReadableByteChannel
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()default booleanisOpen()default intread(ByteBuffer byteBuffer)
-
Method Details
-
getDelegate
T getDelegate() -
isOpen
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
read
- Specified by:
readin interfaceReadableByteChannel- Throws:
IOException
-