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 Summary

    Modifier and Type
    Method
    Description
    void
    Register a new Closeable that is to be closed when the request completes.
  • Method Details

    • add

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