IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.rest
Class RestChannelRequest

java.lang.Object
  extended by com.ibm.btt.channel.BTTChannelRequest
      extended by com.ibm.btt.http.HttpChannelRequest
          extended by com.ibm.btt.cs.rest.RestChannelRequest
All Implemented Interfaces:
ChannelRequest

public class RestChannelRequest
extends HttpChannelRequest


Field Summary
 
Fields inherited from class com.ibm.btt.http.HttpChannelRequest
request
 
Constructor Summary
RestChannelRequest(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 any session management/control required at the device level.
 
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

RestChannelRequest

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

preProcessRequest

public void preProcessRequest(ChannelContext channelContext)
                       throws DSECSSessionNotEstablishedException
Description copied from class: HttpChannelRequest
Performs any session management/control required at the device level. This method inserts the channel session into the ChannelContext and must provide support for using cookies and hidden form field to manage the session.

Specified by:
preProcessRequest in interface ChannelRequest
Overrides:
preProcessRequest in class HttpChannelRequest
Parameters:
channelContext - the channel context object
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