|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.websphere.samples.beenthere.BeenThereServlet
public class BeenThereServlet
This servlet obtains and displays application execution environment information.
This servlet can display the following information:
Additionally, this serlvet can perform the following actions:
In the following example, BeenThereServlet executes the BeenThere EJB 10 times and displays the BeenThere EJB execution statistics:
http://<hostname>/wlm/BeenThere?count=10&stats=trueIn the following example, BeenThereServlet displays workload management weight values of the cluster members executing the BeenThere EJB:
http://<hostname>/wlm/BeenThere?weights=true
| Constructor Summary | |
|---|---|
BeenThereServlet()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Cleans up objects created by the servlet. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes incoming HTTP GET requests. |
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeenThereServlet()
| Method Detail |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - a servlet configuration
javax.servlet.ServletException - if the servlet could not be initialized
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletrequest - an object that encapsulates the request to the servletresponse - an object that encapsulates the response from the servlet
javax.servlet.ServletException - if the incoming get request could not be processedpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||