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.ReferenceCounter
Nested 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
-
Method Summary
Modifier and TypeMethodDescriptionGet the wrapped, notnull
,ByteBuffer
.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, release, retain
Methods inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
capacity, clear, hasRemaining, isDirect, remaining
-
Constructor Details
-
NonRetainableByteBuffer
-
-
Method Details
-
isRetained
public boolean isRetained()- Specified by:
isRetained
in interfaceRetainableByteBuffer
- Returns:
- whether this instance is retained
- See Also:
-
getByteBuffer
Description copied from interface:RetainableByteBuffer
Get the wrapped, notnull
,ByteBuffer
.- Specified by:
getByteBuffer
in interfaceRetainableByteBuffer
- Returns:
- the wrapped, not
null
,ByteBuffer
-