Interface CloseableDelegate

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Internal
    @FunctionalInterface
    public interface CloseableDelegate
    Since:
    5.5
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close​(java.io.Closeable closeable, org.apache.hc.core5.io.CloseMode closeMode)  
    • Method Detail

      • close

        void close​(java.io.Closeable closeable,
                   org.apache.hc.core5.io.CloseMode closeMode)
            throws java.io.IOException
        Throws:
        java.io.IOException