|
IBM Branch 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.DSEPresentationHandler
com.ibm.btt.cs.java.JavaPresentationHandler
This class extends DSEPresentationHandler abstract class.
The implementation is used by the java clients to render responses of the information or exceptions.
Field Summary |
---|
Fields inherited from class com.ibm.btt.clientserver.DSEPresentationHandler |
---|
javaClientException, javaClientTrace |
Constructor Summary | |
---|---|
JavaPresentationHandler()
JavaPresentationHandler constructor. |
Method Summary | |
---|---|
protected java.lang.String |
getSessionId(ChannelContext aChannelContext)
Convenience method to determine the session id from the channel session |
void |
processException(ChannelContext channelContext,
java.lang.Exception exception)
Process the exception for the java client Response is sent to the client in the char encoding specified in dse.ini file. |
void |
processReply(ChannelContext channelContext,
java.lang.String responseData)
If using Invoker-Pattern, the PresentationHandler will pass the responseData(formatted by invoker) to client directly |
void |
processSessionReply(ChannelContext channelContext)
Process the session reply to the java client Response is sent to the client in the char encoding specified in dse.ini file. |
Methods inherited from class com.ibm.btt.clientserver.DSEPresentationHandler |
---|
handleException, usingCookies |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaPresentationHandler()
Method Detail |
protected java.lang.String getSessionId(ChannelContext aChannelContext)
aChannelContext
- com.ibm.btt.clientserver.ChannelContext
public void processException(ChannelContext channelContext, java.lang.Exception exception)
Response is sent to the client in the char encoding specified in dse.ini file.
Potential exception codes required by the client to perform the necessary cleanup
processException
in interface PresentationHandler
processException
in class DSEPresentationHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextexception
- Exceptionpublic void processSessionReply(ChannelContext channelContext)
Response is sent to the client in the char encoding specified in dse.ini file.
processSessionReply
in interface PresentationHandler
processSessionReply
in class DSEPresentationHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextpublic void processReply(ChannelContext channelContext, java.lang.String responseData)
processReply
in interface PresentationHandler
processReply
in class DSEPresentationHandler
PresentationHandler.processReply(ChannelContext, String)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |