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

      default void enterScope(Context context, Request request)
      Parameters:
      context - The context being entered
      request - A request that is applicable to the scope, or null
    • exitScope

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