|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
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.btt.cs.servlet.CSReqServlet
public class CSReqServlet
This class implements HTTP specific behavior for saving the information associated with a session into a database using the HttpSession class supplied by WebSphere Application Server. To use the data persistence you must set the value of the tag "channelHandlers.html.requestHandler" of the btt.xml file to:
com.ibm.btt.cs.html.ext.PersistHtmlRequestHandler
It is also possible to specify whether session affinity exists using the initialization.sessionAffinity tag in the btt.xml file. By default, session affinity is assumed. To specify that there is no session affinity, set the tag's value to "no" (or "false", or "0", or "disable" ). To use this feature, you must activate the persistence of the session in the WebSphere Application Server. For more information, see the WebSphere documentation.
Constructor Summary | |
---|---|
CSReqServlet()
|
Method Summary | |
---|---|
protected ChannelDriver |
getChannelDriver()
This method is used for subclass to override to provide the customized channel driver object |
protected ChannelRequest |
getChannelRequest(javax.servlet.http.HttpServletRequest req)
This method is used for subclass to override to provide the customized request object |
protected ChannelResponse |
getChannelResponse(javax.servlet.http.HttpServletResponse res)
This method is used for subclass to override to provide the customized response object |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Defines the process flow to execute a request. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSReqServlet()
Method Detail |
---|
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
req
- HttpServletRequestres
- HttpServletResponse
ServletException
java.io.IOException
javax.servlet.ServletException
protected ChannelRequest getChannelRequest(javax.servlet.http.HttpServletRequest req)
req
- the request
protected ChannelResponse getChannelResponse(javax.servlet.http.HttpServletResponse res)
res
- the response
protected ChannelDriver getChannelDriver()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |