|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.web.filters.accesslog.AccessLogRequestInfo
public class AccessLogRequestInfo
AccessLogRequestInfo is used to place request information into the HTTP request itself and to keep count of the number of requests coming into and out of JIRA
Field Summary | |
---|---|
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 by the SOAP code to place the SOAP username into the request |
static String |
JIRA_RPC_SOAP_SESSIONID
This constant is used by the SOAP code to place the SOAP session id into the request |
static String |
JIRA_RPC_SOAP_URLSUFFIX
This constant is used by the SOAP code to place the SOAP method url suffix into the request |
static String |
JIRA_RPC_SOAP_USERNAME
This constant is used by the SOAP code to place the SOAP 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_REQUESTID_HEADER
|
static String |
X_USER_NAME_HEADER
|
Constructor Summary | |
---|---|
AccessLogRequestInfo()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JIRA_RPC_SOAP_USERNAME
public static final String JIRA_RPC_SOAP_URLSUFFIX
public static final String JIRA_RPC_SOAP_SESSIONID
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_USER_NAME_HEADER
public static final AtomicLong requestCounter
public static final AtomicLong concurrentRequests
Constructor Detail |
---|
public AccessLogRequestInfo()
Method Detail |
---|
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 play
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |