public class AccessLogRequestInfo extends Object
Modifier and Type | Field and Description |
---|---|
static AtomicLong |
concurrentRequests
This atomic long gauge goes up and down for every request that hits JIRA
|
static String |
JIRA_REQUEST_ASESSIONID
This constant is used to indicate the ASESSIONID
|
static String |
JIRA_REQUEST_ID
This constant is used to indicate the request id
|
static String |
JIRA_REQUEST_START_MILLIS
This constant is used to indicate the start time of the request
|
static String |
JIRA_REQUEST_TIME_MICROS
This constant is used to indicate the time the request took in microseconds
|
static String |
JIRA_REQUEST_USER_NAME
This constant is used to place username into the request
|
static String |
JIRA_SESSION_LAST_ACCESSED_TIME
This constant is used to indicate the last access time of the session
|
static String |
JIRA_SESSION_MAX_INACTIVE_INTERVAL
This constant is used to indicate the max inactive time for the current session configuration
|
static AtomicLong |
requestCounter
This atomic long counter increments for every new request that hits JIRA
|
static String |
X_ASESSIONID_HEADER |
static String |
X_NODEID_HEADER |
static String |
X_REQUESTID_HEADER |
static String |
X_USER_NAME_HEADER |
Constructor and Description |
---|
AccessLogRequestInfo() |
Modifier and Type | Method and Description |
---|---|
void |
enterRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Called to generate a request id and atlassian session id for the given request.
|
void |
exitRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
This is called to exit the request.
|
public static final String JIRA_REQUEST_USER_NAME
public static final String JIRA_REQUEST_START_MILLIS
public static final String JIRA_REQUEST_TIME_MICROS
public static final String JIRA_REQUEST_ID
public static final String JIRA_REQUEST_ASESSIONID
public static final String JIRA_SESSION_LAST_ACCESSED_TIME
public static final String JIRA_SESSION_MAX_INACTIVE_INTERVAL
public static final String X_ASESSIONID_HEADER
public static final String X_REQUESTID_HEADER
public static final String X_NODEID_HEADER
public static final String X_USER_NAME_HEADER
public static final AtomicLong requestCounter
public static final AtomicLong concurrentRequests
public void enterRequest(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletRequest
- the HTTP request in playhttpServletResponse
- the HTTP response for setting the headers intopublic void exitRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- the HTTP request in playCopyright © 2002-2015 Atlassian. All Rights Reserved.