|
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
com.ibm.btt.cs.rest.RestRequestHandler
public class RestRequestHandler
Field Summary |
---|
Fields inherited from class com.ibm.btt.clientserver.DSERequestHandler |
---|
errorCode, javaClientException, javaClientTrace |
Constructor Summary | |
---|---|
RestRequestHandler()
|
Method Summary | |
---|---|
protected void |
addRequiredDataToSessionCtx(java.lang.String sessionId,
javax.servlet.http.HttpServletRequest req)
The session context requires some data to be added to it. |
void |
endRequest(ChannelContext channelContext)
unchain the processor context and save the loaded processor context |
ServerOperation |
executeSessionRequest(ChannelContext channelContext)
When a session is established, we need to call an operation which sets the context to hold data that is saved in the session. |
void |
processNavigation(ChannelContext channelContext)
Process the request when there is no abnormal navigation. |
void |
processSessionRequest(ChannelContext channelContext)
This method is similar to processRequest, only back and double click validation are not performed as a new session is being established. |
protected BTTServerOperation |
readOperation(java.lang.String operationName,
boolean isProcessorOp,
KeyedCollection kcReqData,
java.lang.String sessionId)
Returns an operation containing either the operation going to be executed or a processor operation encapsulating the processor to execute. |
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. |
Methods inherited from class com.ibm.btt.cs.ajax.AjaxHtmlRequestHandler |
---|
chainOperation, commitSessionCtx, executeOperationRequest, isValidAjaxOpContext, processRequest, syncRequestEnd, updateContext |
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 RestRequestHandler()
Method Detail |
---|
public void processSessionRequest(ChannelContext channelContext)
HtmlRequestHandler
processSessionRequest
in interface RequestHandler
processSessionRequest
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextpublic ServerOperation executeSessionRequest(ChannelContext channelContext) throws java.lang.Exception
HtmlRequestHandler
executeSessionRequest
in class HtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
protected void addRequiredDataToSessionCtx(java.lang.String sessionId, javax.servlet.http.HttpServletRequest req)
HtmlRequestHandler
addRequiredDataToSessionCtx
in class HtmlRequestHandler
sessionId
- java.lang.Stringreq
- HttpServletRequestpublic void processNavigation(ChannelContext channelContext) throws java.lang.Exception
AjaxHtmlRequestHandler
processNavigation
in class AjaxHtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
public void endRequest(ChannelContext channelContext)
AjaxHtmlRequestHandler
endRequest
in class AjaxHtmlRequestHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextprotected BTTServerOperation readOperation(java.lang.String operationName, boolean isProcessorOp, KeyedCollection kcReqData, java.lang.String sessionId) throws DSECSSessionNotEstablishedException, DSEInvalidRequestException
readOperation
in class HtmlRequestHandler
isProcessorOp
- boolean indicating if the request intends to execute a
processor or an operationkcReqData
- KeyedCollection created with the info sent from clientoperationName
- String with the id of the operation or processor that will be
passed to the right externalizersessionId
- String
DSECSSessionNotEstablishedException
- The session is expired
DSEInvalidRequestException
- Operation or processor can not be found, instantiated or
initializedprotected void syncRequestStart(ChannelContext channelContext) throws DSEInvalidRequestException, DSEObjectNotFoundException, DSECSSessionNotEstablishedException
HtmlRequestHandler
syncRequestStart
in class AjaxHtmlRequestHandler
DSEInvalidRequestException
DSEObjectNotFoundException
DSECSSessionNotEstablishedException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |