IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.rest
Class RestPresentationHandler

java.lang.Object
  extended by com.ibm.btt.clientserver.DSEPresentationHandler
      extended by com.ibm.btt.cs.html.HtmlPresentationHandler
          extended by com.ibm.btt.cs.ajax.AjaxHtmlPresentationHandler
              extended by com.ibm.btt.cs.rest.RestPresentationHandler
All Implemented Interfaces:
PresentationHandler

public class RestPresentationHandler
extends AjaxHtmlPresentationHandler


Field Summary
static java.lang.String JSON_FMT
           
 
Fields inherited from class com.ibm.btt.clientserver.DSEPresentationHandler
javaClientException, javaClientTrace
 
Constructor Summary
RestPresentationHandler()
           
 
Method Summary
 java.lang.Object getResult()
           
protected  java.lang.String getViewBasePath(Context theContext)
           
 void processException(ChannelContext channelContext, java.lang.Exception exception)
          Obtain the error page name from btt.xml settings and forward the response to that page.
 void processReply(ChannelContext channelContext, java.lang.Object operation)
          Obtain the name of the page to display and forward the request to that page.
 void setResult(java.lang.Object result)
           
 
Methods inherited from class com.ibm.btt.cs.html.HtmlPresentationHandler
addFieldTo, addRequiredDataToSessionCtx, clearUp, forward, getJspBasePath, getOrgRequest, getOrgResponse, getRVS, getSessionId, handleException, handleException
 
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
 

Field Detail

JSON_FMT

public static final java.lang.String JSON_FMT
See Also:
Constant Field Values
Constructor Detail

RestPresentationHandler

public RestPresentationHandler()
Method Detail

getResult

public java.lang.Object getResult()

setResult

public void setResult(java.lang.Object result)

processException

public void processException(ChannelContext channelContext,
                             java.lang.Exception exception)
Description copied from class: HtmlPresentationHandler
Obtain the error page name from btt.xml settings and forward the response to that page.

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

processReply

public void processReply(ChannelContext channelContext,
                         java.lang.Object operation)
Description copied from class: AjaxHtmlPresentationHandler
Obtain the name of the page to display and forward the request to that page.

Specified by:
processReply in interface PresentationHandler
Overrides:
processReply in class AjaxHtmlPresentationHandler
Parameters:
channelContext - ChannelContext
operation - ServerOperation

getViewBasePath

protected java.lang.String getViewBasePath(Context theContext)
                                    throws DSEObjectNotFoundException,
                                           DSEInvalidRequestException,
                                           DSEInvalidArgumentException
Throws:
DSEObjectNotFoundException
DSEInvalidRequestException
DSEInvalidArgumentException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011