Interface ContextHandler.ContextScopeListener

All Superinterfaces:
EventListener
Enclosing class:
ContextHandler

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

    • enterScope

      void enterScope(ContextHandler.Context context, Request request, 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