com.ibm.btt.cs.rest
Class RestPresentationHandler
java.lang.Object
com.ibm.btt.clientserver.DSEPresentationHandler
com.ibm.btt.cs.html.HtmlPresentationHandler
com.ibm.btt.cs.ajax.AjaxHtmlPresentationHandler
com.ibm.btt.cs.rest.RestPresentationHandler
- All Implemented Interfaces:
- PresentationHandler
public class RestPresentationHandler
- extends AjaxHtmlPresentationHandler
Field Summary |
static java.lang.String |
JSON_FMT
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON_FMT
public static final java.lang.String JSON_FMT
- See Also:
- Constant Field Values
RestPresentationHandler
public RestPresentationHandler()
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.ChannelContextexception
- 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
- ChannelContextoperation
- ServerOperation
getViewBasePath
protected java.lang.String getViewBasePath(Context theContext)
throws DSEObjectNotFoundException,
DSEInvalidRequestException,
DSEInvalidArgumentException
- Throws:
DSEObjectNotFoundException
DSEInvalidRequestException
DSEInvalidArgumentException
(c) Copyright IBM Corporation 1998, 2011