Interface ContextHandler.ContextScopeListener

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

    @Deprecated(since="2021-05-27")
    public static interface ContextHandler.ContextScopeListener
    extends java.util.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 Detail

      • enterScope

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