Interface HeaderIterator

    • Method Detail

      • hasNext

        boolean hasNext()
        Indicates whether there is another header in this iteration.
        Specified by:
        hasNext in interface Iterator<Object>
        Returns:
        true if there is another header, false otherwise
      • nextHeader

        Header nextHeader()
        Obtains the next header from this iteration. This method should only be called while hasNext is true.
        Returns:
        the next header in this iteration