Interface InputStreamFactory

  • All Known Implementing Classes:
    BrotliInputStreamFactory, DeflateInputStreamFactory, GZIPInputStreamFactory
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface InputStreamFactory
    Factory for decorated InputStreams.
    Since:
    4.4
    • Method Detail

      • create

        java.io.InputStream create​(java.io.InputStream inputStream)
                            throws java.io.IOException
        Throws:
        java.io.IOException