Interface HttpResponse.InputStreamMapper

  • Enclosing class:
    HttpResponse
    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 static interface HttpResponse.InputStreamMapper
    A function that maps an input stream to another input stream, e.g., for decompression.
    • Method Detail

      • map

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