Module io.jooby
Package io.jooby

Interface Route.Complete

Enclosing class:
Route

public static interface Route.Complete
Listener interface for events that are run at the completion of a request/response cycle (i.e. when the request has been completely read, and the response has been fully written).

At this point it is too late to modify the exchange further.

Completion listeners are invoked in reverse order.

Author:
edgar
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback method.
  • Method Details

    • apply

      void apply(@NonNull Context ctx) throws Exception
      Callback method.
      Parameters:
      ctx - Read-Only web context.
      Throws:
      Exception - If something goes wrong.