Class JsonLineIterator<T>

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      T next()  
      static <T> JsonLineIterator<T> parseFromResponse​(javax.ws.rs.core.Response response, java.lang.Class<T> clasz)  
      void skip()  
      java.util.stream.Stream<T> stream()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • parseFromResponse

        public static <T> JsonLineIterator<T> parseFromResponse​(javax.ws.rs.core.Response response,
                                                                java.lang.Class<T> clasz)
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T>
      • next

        public T next()
        Specified by:
        next in interface java.util.Iterator<T>
      • skip

        public void skip()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface VitamAutoCloseable
      • stream

        public java.util.stream.Stream<T> stream()