java.lang.Object
io.jooby.CompletionListeners
Utility class that group one or more completion listeners and execute them in reverse order.
- Since:
- 2.5.2
- Author:
- edgar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(Route.Complete listener) Add a listener.void
Execute all listeners.
-
Constructor Details
-
CompletionListeners
public CompletionListeners()
-
-
Method Details
-
addListener
Add a listener.- Parameters:
listener
- Listener.
-
run
Execute all listeners.- Parameters:
ctx
- Listeners.
-