|
||||||||||
| 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
org.apache.aries.samples.ariestrader.web.TradeAppServlet
public class TradeAppServlet
TradeAppServlet provides the standard web interface to Trade and can be accessed with the Go Trade! link. Driving benchmark load using this interface requires a sophisticated web load generator that is capable of filling HTML forms and posting dynamic data.
| Constructor Summary | |
|---|---|
TradeAppServlet()
|
|
| Method Summary | |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process incoming HTTP GET requests |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process incoming HTTP POST requests |
String |
getServletInfo()
Returns a string that contains information about TradeScenarioServlet |
void |
init(javax.servlet.ServletConfig config)
Servlet initialization method. |
void |
performTask(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Main service method for TradeAppServlet |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, 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 TradeAppServlet()
| Method Detail |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletrequest - Object that encapsulates the request to the servletresponse - Object that encapsulates the response from the servlet
javax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletrequest - Object that encapsulates the request to the servletresponse - Object that encapsulates the response from the servlet
javax.servlet.ServletException
IOException
public void performTask(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
request - Object that encapsulates the request to the servletresponse - Object that encapsulates the response from the servlet
javax.servlet.ServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||