Package org.eclipse.jetty.io.internal
Class NonRetainableByteBuffer
java.lang.Object
org.eclipse.jetty.io.internal.NonRetainableByteBuffer
- All Implemented Interfaces:
Retainable,RetainableByteBuffer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Retainable
Retainable.ReferenceCounterNested classes/interfaces inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
RetainableByteBuffer.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the wrapped, notnull,ByteBuffer.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, release, retainMethods inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
capacity, clear, hasRemaining, isDirect, remaining
-
Constructor Details
-
NonRetainableByteBuffer
-
-
Method Details
-
isRetained
public boolean isRetained()- Specified by:
isRetainedin interfaceRetainableByteBuffer- Returns:
- whether this instance is retained
- See Also:
-
getByteBuffer
Description copied from interface:RetainableByteBufferGet the wrapped, notnull,ByteBuffer.- Specified by:
getByteBufferin interfaceRetainableByteBuffer- Returns:
- the wrapped, not
null,ByteBuffer
-