|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.clientserver.DSERequestHandler
com.ibm.btt.cs.html.HtmlRequestHandler
com.ibm.btt.cs.ajax.AjaxHtmlRequestHandler
public class AjaxHtmlRequestHandler
Field Summary |
---|
Fields inherited from class com.ibm.btt.clientserver.DSERequestHandler |
---|
errorCode, javaClientException, javaClientTrace |
Constructor Summary | |
---|---|
AjaxHtmlRequestHandler()
|
Method Summary | |
---|---|
protected void |
chainOperation(BTTServerOperation oper,
java.lang.String sessionId,
java.lang.String applicationId,
java.lang.String processorId,
java.lang.String operName)
Chains the operation or processor context to the right parent. |
protected void |
commitSessionCtx(ChannelContext channelContext)
commit session context to CHA server. |
void |
endRequest(ChannelContext channelContext)
unchain the processor context and save the loaded processor context |
protected java.lang.Object |
executeOperationRequest(ChannelContext channelContext)
Excute operation request |
protected boolean |
isValidAjaxOpContext(BTTServerOperation oper,
KeyedCollection kcReqData,
java.lang.String convType)
Updates dse_errorMessages field in the context with the results of the validation. |
void |
processNavigation(ChannelContext channelContext)
Process the request when there is no abnormal navigation. |
void |
processRequest(ChannelContext channelContext)
Process the request originated from a request that already has a session |
protected void |
syncRequestEnd(ChannelContext channelContext)
|
protected void |
syncRequestStart(ChannelContext channelContext)
this method is used to synchronize the html channel and ajax channel to make sure that at one time just one channel request processed. |
protected boolean |
updateContext(BTTServerOperation oper,
KeyedCollection kcReqData,
java.lang.String convType)
Updates dse_errorMessages field in the context with the results of the validation. |
Methods inherited from class com.ibm.btt.clientserver.DSERequestHandler |
---|
checkExecutionPermission, executeSession, formatOpContext, getPresentationHandler, getRequestValue, getSessionContext, handleException, handleException, isNotNull, process, runInSession, setReplyFmt, tryToFormat, tryToUnformat, unFormatRequest, usingCookies |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxHtmlRequestHandler()
Method Detail |
---|
public void processNavigation(ChannelContext channelContext) throws java.lang.Exception
processNavigation
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
protected java.lang.Object executeOperationRequest(ChannelContext channelContext) throws java.lang.Exception
executeOperationRequest
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
protected boolean updateContext(BTTServerOperation oper, KeyedCollection kcReqData, java.lang.String convType) throws DSETypeException, DSEObjectNotFoundException, DSEInvalidArgumentException, DSEInvalidRequestException
oper
- kcReqData
- convType
-
DSETypeException
DSEObjectNotFoundException
DSEInvalidArgumentException
DSEInvalidRequestException
protected void chainOperation(BTTServerOperation oper, java.lang.String sessionId, java.lang.String applicationId, java.lang.String processorId, java.lang.String operName) throws java.lang.Exception
oper
- com.ibm.btt.base.DSEServerOperationsessionId
- java.lang.StringapplicationId
- java.lang.StringapplicationId
- java.lang.StringoperName
- java.lang.String
DSEInvalidRequestException
- There is no context associated with given sessionId or
applicationId
java.lang.Exception
protected boolean isValidAjaxOpContext(BTTServerOperation oper, KeyedCollection kcReqData, java.lang.String convType) throws DSETypeException, DSEObjectNotFoundException, DSEInvalidArgumentException, DSEInvalidRequestException
oper
- kcReqData
- convType
-
DSETypeException
DSEObjectNotFoundException
DSEInvalidArgumentException
DSEInvalidRequestException
public void endRequest(ChannelContext channelContext)
endRequest
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextprotected void syncRequestEnd(ChannelContext channelContext) throws DSEInvalidRequestException, DSEObjectNotFoundException, DSECSSessionNotEstablishedException
syncRequestEnd
in class HtmlRequestHandler
DSEInvalidRequestException
DSEObjectNotFoundException
DSECSSessionNotEstablishedException
protected void syncRequestStart(ChannelContext channelContext) throws DSEInvalidRequestException, DSEObjectNotFoundException, DSECSSessionNotEstablishedException
HtmlRequestHandler
syncRequestStart
in class HtmlRequestHandler
DSEInvalidRequestException
DSEObjectNotFoundException
DSECSSessionNotEstablishedException
protected void commitSessionCtx(ChannelContext channelContext)
HtmlRequestHandler
commitSessionCtx
in class HtmlRequestHandler
public void processRequest(ChannelContext channelContext)
HtmlRequestHandler
processRequest
in interface RequestHandler
processRequest
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContext
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |