Class RetainableByteBuffer.Abstract
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.Wrapper
Nested 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_RETAINABLE
Fields inherited from interface org.eclipse.jetty.io.RetainableByteBuffer
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addExtraStringInfo
(StringBuilder builder) protected void
addStringInfo
(StringBuilder builder) protected void
addValueMarker
(StringBuilder builder, boolean beginning) protected void
addValueString
(StringBuilder builder) toString()
Methods inherited from class org.eclipse.jetty.io.Retainable.Wrapper
canRetain, getRetained, getWrapped, isRetained, release, retain
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, getRetained, isRetained, release, retain
Methods 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:
toString
in classRetainable.Wrapper
- Returns:
- A string showing the info about this buffer
-
toDetailString
- Specified by:
toDetailString
in interfaceRetainableByteBuffer
- Returns:
- A string showing the info and detail about this buffer
-
addStringInfo
-
addExtraStringInfo
-
addValueString
-
addValueMarker
-