Module io.jooby
Package io.jooby

Class CompletionListeners

java.lang.Object
io.jooby.CompletionListeners

public class CompletionListeners extends Object
Utility class that group one or more completion listeners and execute them in reverse order.
Since:
2.5.2
Author:
edgar
  • Constructor Details

    • CompletionListeners

      public CompletionListeners()
  • Method Details

    • addListener

      public void addListener(@NonNull Route.Complete listener)
      Add a listener.
      Parameters:
      listener - Listener.
    • run

      public void run(@NonNull Context ctx)
      Execute all listeners.
      Parameters:
      ctx - Listeners.