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
  • Constructor Details

    • Abstract

      public Abstract()
    • Abstract

      public Abstract(Retainable retainable)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Retainable.Wrapper
      Returns:
      A string showing the info about this buffer
    • toDetailString

      public String toDetailString()
      Specified by:
      toDetailString in interface RetainableByteBuffer
      Returns:
      A string showing the info and detail about this buffer
    • addStringInfo

      protected void addStringInfo(StringBuilder builder)
    • addExtraStringInfo

      protected void addExtraStringInfo(StringBuilder builder)
    • addValueString

      protected void addValueString(StringBuilder builder)
    • addValueMarker

      protected void addValueMarker(StringBuilder builder, boolean beginning)