IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel
Class Web2PresentationHandler

java.lang.Object
  extended by com.ibm.btt.clientserver.DSEPresentationHandler
      extended by com.ibm.btt.channel.Web2PresentationHandler
All Implemented Interfaces:
PresentationHandler

public class Web2PresentationHandler
extends DSEPresentationHandler

This class implements PresentationHandler interface.

This is the implementation that used in XML Channel and JSON channel


Field Summary
 
Fields inherited from class com.ibm.btt.clientserver.DSEPresentationHandler
javaClientException, javaClientTrace
 
Constructor Summary
Web2PresentationHandler()
           
 
Method Summary
protected  void addDataToErrorReplyContext(ChannelContext ctx, Context responseContext)
          This method is used for the client to override and add the data to responseContext
protected  void addDataToReplyContext(ChannelContext ctx, Context responseContext)
          This method is used for the client to override and add the data to responseContext
 void commitSessionCtx(ChannelContext channelContext)
          Commit the session context
 void processException(ChannelContext channelContext, java.lang.Exception exception)
          Processes a response containing an exception that occurred for an XML client.
 void processReply(ChannelContext channelContext, java.lang.Object result)
          Processes a response for a client that supports XML messages.
 
Methods inherited from class com.ibm.btt.clientserver.DSEPresentationHandler
handleException, processSessionReply, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Web2PresentationHandler

public Web2PresentationHandler()
Method Detail

processException

public void processException(ChannelContext channelContext,
                             java.lang.Exception exception)
Processes a response containing an exception that occurred for an XML client.

Specified by:
processException in interface PresentationHandler
Overrides:
processException in class DSEPresentationHandler
Parameters:
channelContext - com.ibm.dse.clientserver.ChannelContext
exception - Exception

addDataToErrorReplyContext

protected void addDataToErrorReplyContext(ChannelContext ctx,
                                          Context responseContext)
This method is used for the client to override and add the data to responseContext

Parameters:
ctx - the channel context
responseContext - the response context

processReply

public void processReply(ChannelContext channelContext,
                         java.lang.Object result)
Processes a response for a client that supports XML messages.

Specified by:
processReply in interface PresentationHandler
Overrides:
processReply in class DSEPresentationHandler
Parameters:
channelContext - com.ibm.dse.clientserver.ChannelContext

addDataToReplyContext

protected void addDataToReplyContext(ChannelContext ctx,
                                     Context responseContext)
This method is used for the client to override and add the data to responseContext

Parameters:
ctx - the channel context
responseContext - the response context

commitSessionCtx

public void commitSessionCtx(ChannelContext channelContext)
Commit the session context

Parameters:
channelContext - the channel context object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009