Interface Closer

  • All Known Implementing Classes:
    CloserImpl

    public interface Closer
    A service that allows users to close any Closeable that when the request completes.

    Meant to be used a Resource Method parameter using Context

    • Method Detail

      • add

        void add​(Closeable c)
        Register a new Closeable that is to be closed when the request completes.