Interface InputStreamConsumer<T>

  • Type Parameters:
    T -

    public interface InputStreamConsumer<T>
    Implementors consume an InputStream.

    Typical usage pattern for methods that accept a consumer is to pass in an anonymous implementation of this interface:

     {@code
          something.withConsumer(new InputStreamConsumer(){