public final class RequestInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATOR_TOKEN |
static String |
FACTORY_TOKEN |
static org.apache.log4j.Logger |
LOGGER |
static String |
TOKEN |
Modifier and Type | Method and Description |
---|---|
static int |
callStarted(javax.servlet.jsp.PageContext pContext,
String pUri)
Informs the RequestInfo for the current request that a call
to the specified URI has started.
|
static int |
callStarted(javax.servlet.ServletContext pContext,
javax.servlet.ServletRequest pRequest,
String pUri)
Informs the RequestInfo for the current request that a call
to the specified URI has started.
|
static void |
callStopped(javax.servlet.jsp.PageContext pContext,
int pLevel)
Informs the RequestInfo for the current request that the call
has stopped.
|
static void |
callStopped(javax.servlet.ServletContext pContext,
javax.servlet.ServletRequest pRequest,
int pLevel)
Informs the RequestInfo for the current request that the call
has stopped.
|
CallInfo |
getRootCallInfo() |
int |
starting(javax.servlet.jsp.PageContext pContext,
String pUri) |
int |
starting(javax.servlet.ServletContext pContext,
String pUri)
Registers that a call is about to happen to the specified URI
in the request denoted by the context.
|
void |
stop()
Stops the request, by terminating all the calls which are still active.
|
void |
stopped(int level) |
public static final org.apache.log4j.Logger LOGGER
public static final String TOKEN
public static final String FACTORY_TOKEN
public static final String AGGREGATOR_TOKEN
public static int callStarted(javax.servlet.jsp.PageContext pContext, String pUri)
public static int callStarted(javax.servlet.ServletContext pContext, javax.servlet.ServletRequest pRequest, String pUri)
pContext
- the ServletContextpRequest
- pUri
- The jsp URI to profilepublic static void callStopped(javax.servlet.jsp.PageContext pContext, int pLevel)
public static void callStopped(javax.servlet.ServletContext pContext, javax.servlet.ServletRequest pRequest, int pLevel)
pContext
- the ServletContextpRequest
- pLevel
- the call depth which should is returned by the callStarted methodpublic int starting(javax.servlet.jsp.PageContext pContext, String pUri)
public int starting(javax.servlet.ServletContext pContext, String pUri)
pContext
- pUri
- The jsp URI to profilepublic void stopped(int level)
public void stop()
public CallInfo getRootCallInfo()
© 1998- 2021 Escenic AS