Interface ContextHandler.ContextScopeListener

  • All Superinterfaces:
    java.util.EventListener
    Enclosing class:
    ContextHandler

    public static interface ContextHandler.ContextScopeListener
    extends java.util.EventListener
    Listener for all threads entering context scope, including async IO callbacks
    • Method Detail

      • enterScope

        void enterScope​(ContextHandler.Context context,
                        Request request,
                        java.lang.Object reason)
        Parameters:
        context - The context being entered
        request - A request that is applicable to the scope, or null
        reason - An object that indicates the reason the scope is being entered.
      • exitScope

        void exitScope​(ContextHandler.Context context,
                       Request request)
        Parameters:
        context - The context being exited
        request - A request that is applicable to the scope, or null