IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.html.remote
Class RemoteChannelRequest

java.lang.Object
  extended by com.ibm.btt.channel.BTTChannelRequest
      extended by com.ibm.btt.http.HttpChannelRequest
          extended by com.ibm.btt.http.JavaHttpChannelRequest
              extended by com.ibm.btt.http.JavaEstablishSessionRequest
                  extended by com.ibm.btt.cs.html.remote.RemoteChannelRequest
All Implemented Interfaces:
ChannelRequest

public class RemoteChannelRequest
extends JavaEstablishSessionRequest

The channel request used to wrap the HttpServletRequest. This request used by CSRemoteServlet to create session and save remote parent flow system data into session


Field Summary
 
Fields inherited from class com.ibm.btt.http.JavaHttpChannelRequest
javaClientException, javaClientTrace
 
Fields inherited from class com.ibm.btt.http.HttpChannelRequest
request
 
Constructor Summary
RemoteChannelRequest(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 void parseRequestData(ChannelContext channelContext)
          Parses the contents of the parameters contained in the HttpServletRequest, parses the request data into the KeyedCollection, and adds the kColl into the ChannelContext request data.
 void preProcessRequest(ChannelContext channelContext)
          Performs the session managment required to support HTTP and custom session management.
 
Methods inherited from class com.ibm.btt.http.HttpChannelRequest
checkSession, getAttribute, getCharacterEncoding, getRequest, getSessionId, getUserType, parseRequestHeader, setAttribute, setCharacterEncoding
 
Methods inherited from class com.ibm.btt.channel.BTTChannelRequest
runInSession, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteChannelRequest

public RemoteChannelRequest(javax.servlet.http.HttpServletRequest request)
Method Detail

preProcessRequest

public void preProcessRequest(ChannelContext channelContext)
                       throws DSECSSessionNotEstablishedException
Description copied from class: JavaEstablishSessionRequest
Performs the session managment required to support HTTP and custom session management. This method updates the ChannelContext with the session and must provide support for using cookies and hidden form field to manage the session.
  1. Create the session if the request is for a new session. The session is new if the header or the data contains a newsession tag with the value=true
  2. Create an HttpSession if using cookies or create a DSEChannelSession if not
  3. Create an entry in the sessions table for a new session

Specified by:
preProcessRequest in interface ChannelRequest
Overrides:
preProcessRequest in class JavaEstablishSessionRequest
Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Throws:
DSECSSessionNotEstablishedException - if the session isn't established

parseRequestData

public void parseRequestData(ChannelContext channelContext)
                      throws java.lang.Exception
Description copied from class: HttpChannelRequest
Parses the contents of the parameters contained in the HttpServletRequest, parses the request data into the KeyedCollection, and adds the kColl into the ChannelContext request data.

Override this method to modify the the data parsing behavior.

Specified by:
parseRequestData in interface ChannelRequest
Overrides:
parseRequestData in class HttpChannelRequest
Parameters:
channelContext - the channel context object
Throws:
java.lang.Exception - if error occur during parsing

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011