|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RequestMBean
Detailed information related to a single servlet engine request.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
String[] |
dumpStackTrace()
Returns detailed information on the thread running this request (only functions until request is completed) Supported API: true |
void |
emailStackTrace(String addressesOrEmailList,
String subject)
E-mails detailed information on the thread running this request (only functions until request is completed) Supported API: true |
String |
getAuthType()
Name of the authentication scheme used to protect the servlet Supported API: true |
double |
getAverageActiveRequests()
Get average requests active during this request Supported API: true |
double |
getBlockedSeconds()
Time request thread spent in BLOCKED state; -1 unless ThreadContentionMonitoringEnabled is set Supported API: true |
String |
getBlockingCallId()
Id of a call (to another server process, for example) that this request is currently waiting upon, when the call has been specifically instrumented to register this, which is most often not the case Supported API: true |
String |
getBlockingCallTarget()
Description of the target of a call (to another server process, for example) that this request is currently waiting upon, when the call has been specifically instrumented to register this, which is most often not the case Supported API: true |
double |
getElapsedCpuSeconds()
Elapsed CPU time of request thread during request Supported API: true |
double |
getElapsedProcessCpuSeconds()
Elapsed CPU time of overall servlet engine process during request; only meaningful if ServletRequestMonitorMBean's ProcessCpuTimeMonitoringEnabled attribute is true Supported API: true |
double |
getElapsedSeconds()
Elapsed time of request Supported API: true |
double |
getElapsedUserSeconds()
Elapsed CPU time executing in user mode for request thread during request Supported API: true |
String |
getExceptionClass()
Class name of exception thrown by request Supported API: true |
String |
getExceptionMessage()
Message of exception thrown by request Supported API: true |
String[] |
getExceptionStackTrace()
Stack trace of exception thrown by request Supported API: true |
String |
getId()
Reference id of request Supported API: true |
long |
getIECalls()
IE calls recorded as occuring from request thread during request Supported API: true |
double |
getIEElapsedSeconds()
Elapsed time of IE calls recorded as occuring from request thread during request Supported API: true |
long |
getJNDICalls()
JNDI calls recorded as occuring from request thread during request Supported API: true |
double |
getJNDIElapsedSeconds()
Elapsed time of JNDI calls recorded as occuring from request thread during request Supported API: true |
String |
getMethod()
Name of the HTTP method with which this request was made Supported API: true |
double |
getPercentageOfElapsedTimeInIE()
Percentage of elapsed request time spent in IE calls Supported API: true |
double |
getPercentageOfElapsedTimeInJNDI()
Percentage of elapsed request time spent in JNDI calls Supported API: true |
double |
getPercentageOfElapsedTimeInRMI()
Percentage of elapsed request time spent in RMI calls Supported API: true |
double |
getPercentageOfElapsedTimeInSOAP()
Percentage of elapsed request time spent in SOAP calls Supported API: true |
double |
getPercentageOfProcessCpuTime()
Request CPU time as a percent of servlet engine process during request timeframe; only meaningful if ServletRequestMonitorMBean's ProcessCpuTimeMonitoringEnabled attribute is true Supported API: true |
double |
getPercentageOfTotalCpuTime()
Request CPU time as a percent of overall during request timeframe Supported API: true |
double |
getProcessPercentageOfTotalCpuTime()
Servlet engine process CPU time as a percent of overall during request timeframe; only meaningful if ServletRequestMonitorMBean's ProcessCpuTimeMonitoringEnabled attribute is true Supported API: true |
String |
getProtocol()
Name and version of the protocol the request uses Supported API: true |
String |
getQueryString()
Query string that is contained in the request URL after the path Supported API: true |
String |
getRemoteAddr()
Internet Protocol (IP) address of the client that sent the request Supported API: true |
String |
getRemoteUser()
Login of the user making this request, if the user has been authenticated Supported API: true |
String |
getRequestedSessionId()
Session ID specified by the client; may not be the same as the ID of the actual session in use Supported API: true |
String[] |
getRequestHeaders()
HTTP request headers Supported API: true |
String[] |
getRequestParameters()
HTTP request parameters (contained in the query string and/or posted form data) Supported API: true |
String |
getRequestURI()
Part of this request's URL from the protocol name up to the query string in the first line of the HTTP request Supported API: true |
int |
getResponseContentLength()
Length of the content body in the response according to the HTTP Content-Length header or -1 if not set Supported API: true |
String |
getResponseContentType()
Content type of the response being sent to the client according to Content-Type header, if set Supported API: true |
long |
getRMICalls()
RMI calls recorded as occuring from request thread during request Supported API: true |
double |
getRMIElapsedSeconds()
Elapsed time of RMI calls recorded as occuring from request thread during request Supported API: true |
String |
getSessionId()
ID of session actually in use Supported API: true |
long |
getSOAPCalls()
SOAP calls recorded as occuring from request thread during request Supported API: true |
double |
getSOAPElapsedSeconds()
Elapsed time of SOAP calls recorded as occuring from request thread during request Supported API: true |
Timestamp |
getStartTime()
Time application code started process request Supported API: true |
int |
getStatusCode()
HTTP status code returned; -1 if not known Supported API: true |
String |
getStatusMessage()
HTTP response status message Supported API: true |
long |
getThreadId()
Id of the thread in which the request is running Supported API: true |
String |
getThreadName()
Name of the thread in which the request is running Supported API: true |
double |
getWaitedSeconds()
Time request thread spent in either WAITING or TIMED_WAITING state; -1 unless ThreadContentionMonitoringEnabled is set Supported API: true |
void |
interrupt()
If the request is not completed, interrupts its thread. |
boolean |
isCompleted()
Whether request has been completed (with or without error) Supported API: true |
boolean |
isError()
Whether the request generated an error status code Supported API: true |
boolean |
isRequestedSessionIdValid()
Whether the requested session ID is still valid Supported API: true |
| Method Detail |
|---|
String getId()
long getThreadId()
String getThreadName()
Timestamp getStartTime()
String getRemoteAddr()
String getProtocol()
String getAuthType()
String getRemoteUser()
String getMethod()
String getQueryString()
String getRequestURI()
String getRequestedSessionId()
boolean isRequestedSessionIdValid()
String getSessionId()
double getAverageActiveRequests()
double getElapsedSeconds()
double getElapsedProcessCpuSeconds()
double getElapsedCpuSeconds()
double getElapsedUserSeconds()
double getWaitedSeconds()
double getBlockedSeconds()
long getRMICalls()
double getRMIElapsedSeconds()
double getPercentageOfElapsedTimeInRMI()
long getIECalls()
double getIEElapsedSeconds()
double getPercentageOfElapsedTimeInIE()
long getSOAPCalls()
long getJNDICalls()
double getSOAPElapsedSeconds()
double getJNDIElapsedSeconds()
double getPercentageOfElapsedTimeInSOAP()
double getPercentageOfElapsedTimeInJNDI()
double getPercentageOfTotalCpuTime()
double getProcessPercentageOfTotalCpuTime()
double getPercentageOfProcessCpuTime()
String getBlockingCallTarget()
String getBlockingCallId()
boolean isCompleted()
String[] getRequestParameters()
String[] getRequestHeaders()
int getStatusCode()
String getStatusMessage()
int getResponseContentLength()
String getResponseContentType()
boolean isError()
String getExceptionClass()
String getExceptionMessage()
String[] getExceptionStackTrace()
String[] dumpStackTrace()
void emailStackTrace(String addressesOrEmailList,
String subject)
throws IOException,
SAXException
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mail
IOException
SAXExceptionvoid interrupt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||