Interface CompletionAware

All Known Implementing Classes:
AtmosphereResponseImpl

public interface CompletionAware
The CompletionAware interface is used by a class implementing the AtmosphereResponse interface to be notified when writing to the response has been completed. This is indicated by the response object leaving the scope of HttpServlet.service method for synchronous calls or the AsyncContext.complete method being invoked for asynchronous calls.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
  • Method Details

    • onComplete

      void onComplete()
    • completed

      boolean completed()