Interface ContextHandler.ContextScopeListener

All Superinterfaces:
EventListener
Enclosing class:
ContextHandler

@Deprecated(since="2021-05-27") public static interface ContextHandler.ContextScopeListener extends EventListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Listener for all threads entering context scope, including async IO callbacks
  • Method Details

    • enterScope

      void enterScope(ContextHandler.Context context, Request request, Object reason)
      Deprecated.
      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)
      Deprecated.
      Parameters:
      context - The context being exited
      request - A request that is applicable to the scope, or null