public class TestContextScopeListener extends java.lang.Object implements ContextHandler.ContextScopeListener
| Constructor and Description |
|---|
TestContextScopeListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterScope(ContextHandler.Context context,
Request request,
java.lang.Object reason) |
void |
exitScope(ContextHandler.Context context,
Request request) |
java.util.concurrent.CountDownLatch |
getExitSynchronizer() |
void |
setExitSynchronizer(java.util.concurrent.CountDownLatch exitSynchronizer) |
public java.util.concurrent.CountDownLatch getExitSynchronizer()
public void setExitSynchronizer(java.util.concurrent.CountDownLatch exitSynchronizer)
exitSynchronizer - the exitSynchronizer to setpublic void enterScope(ContextHandler.Context context, Request request, java.lang.Object reason)
enterScope in interface ContextHandler.ContextScopeListenercontext - The context being enteredrequest - A request that is applicable to the scope, or nullreason - An object that indicates the reason the scope is being entered.public void exitScope(ContextHandler.Context context, Request request)
exitScope in interface ContextHandler.ContextScopeListenercontext - The context being exitedrequest - A request that is applicable to the scope, or nullCopyright © 1995–2023 Webtide. All rights reserved.