java.lang.Object
org.eclipse.jetty.io.Retainable.Wrapper
org.eclipse.jetty.io.RetainableByteBuffer.Abstract
- All Implemented Interfaces:
Retainable,RetainableByteBuffer,RetainableByteBuffer.Mutable
- Direct Known Subclasses:
RetainableByteBuffer.DynamicCapacity,RetainableByteBuffer.FixedCapacity
- Enclosing interface:
RetainableByteBuffer
public abstract static class RetainableByteBuffer.Abstract
extends Retainable.Wrapper
implements RetainableByteBuffer.Mutable
An abstract implementation of
RetainableByteBuffer that provides the basic Retainable functionality-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Retainable
Retainable.ReferenceCounter, Retainable.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
RetainableByteBuffer.Abstract, RetainableByteBuffer.DynamicCapacity, RetainableByteBuffer.EmptyRetainableByteBuffer, RetainableByteBuffer.FixedCapacity, RetainableByteBuffer.Mutable, RetainableByteBuffer.NonRetainableByteBuffer, RetainableByteBuffer.Pooled, RetainableByteBuffer.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.Retainable
NON_RETAINABLEFields inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddExtraStringInfo(StringBuilder builder) protected voidaddStringInfo(StringBuilder builder) protected voidaddValueMarker(StringBuilder builder, boolean beginning) protected voidaddValueString(StringBuilder builder) toString()Methods inherited from class org.eclipse.jetty.io.Retainable.Wrapper
canRetain, getRetained, getWrapped, isRetained, release, retainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, getRetained, isRetained, release, retainMethods inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
appendTo, appendTo, asMutable, capacity, clear, copy, get, get, get, getByteBuffer, hasRemaining, isDirect, isEmpty, isFull, isMutable, limit, maxSize, putTo, remaining, size, skip, slice, slice, space, take, take, takeByteArray, takeFrom, writeTo, writeTo
-
Constructor Details
-
Abstract
public Abstract() -
Abstract
-
-
Method Details
-
toString
- Overrides:
toStringin classRetainable.Wrapper- Returns:
- A string showing the info about this buffer
-
toDetailString
- Specified by:
toDetailStringin interfaceRetainableByteBuffer- Returns:
- A string showing the info and detail about this buffer
-
addStringInfo
-
addExtraStringInfo
-
addValueString
-
addValueMarker
-