Class DumpableCollection

  • All Implemented Interfaces:

    public class DumpableCollection
    extends java.lang.Object
    implements Dumpable
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    • Constructor Summary

      Constructor Description
      DumpableCollection​(java.lang.String name, java.util.Collection<?> collection)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String dump()  
      void dump​(java.lang.Appendable out, java.lang.String indent)
      Dump this object (and children) into an Appendable using the provided indent after any new lines.
      static DumpableCollection from​(java.lang.String name, java.lang.Object... items)  
      static DumpableCollection fromArray​(java.lang.String name, java.lang.Object[] array)  
      • 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.util.component.Dumpable

    • Constructor Detail

      • DumpableCollection

        public DumpableCollection​(java.lang.String name,
                                  java.util.Collection<?> collection)
    • Method Detail

      • fromArray

        public static DumpableCollection fromArray​(java.lang.String name,
                                                   java.lang.Object[] array)
      • from

        public static DumpableCollection from​(java.lang.String name,
                                              java.lang.Object... items)
      • dump

        public java.lang.String dump()
        Specified by:
        dump in interface Dumpable
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
        Description copied from interface: Dumpable
        Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
        Specified by:
        dump in interface Dumpable
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws: - if unable to write to Appendable