Class DumpableCollection

  • All Implemented Interfaces:
    Dumpable

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

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

        KEY
    • Constructor Summary

      Constructors 
      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

        dumpSelf
    • 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)
                  throws java.io.IOException
        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
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        java.io.IOException - if unable to write to Appendable