com.ibm.btt.cs.java
Class JavaRequestHandler
java.lang.Object
com.ibm.btt.clientserver.DSERequestHandler
com.ibm.btt.cs.java.JavaRequestHandler
- All Implemented Interfaces:
- RequestHandler
public class JavaRequestHandler
- extends DSERequestHandler
This class implements RequestHandler interface and extends
JavaRequestHandler.
This class provides the implementation specific for the java client types
Method Summary |
protected java.lang.Object |
executeRequest(ChannelContext channelContext)
Perform the operation for the Java client. |
protected void |
executeSession(ChannelContext channelContext)
To support multiple client types using the same session the Java client
requires additional processing to check the application session table for
a valid id The parameter "createSession" can exist in the data kColl only |
protected void |
preProcessRequest(ChannelContext channelContext)
Extend this method to perform any initial processing required by the
request handler
Verify that the server is started and the environment is initialized |
Methods inherited from class com.ibm.btt.clientserver.DSERequestHandler |
checkExecutionPermission, formatOpContext, getPresentationHandler, getRequestValue, getSessionContext, getSessionId, handleException, handleException, isNotNull, process, processRequest, processSessionRequest, runInSession, setReplyFmt, tryToFormat, tryToUnformat, unFormatRequest, usingCookies |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaRequestHandler
public JavaRequestHandler()
executeRequest
protected java.lang.Object executeRequest(ChannelContext channelContext)
throws java.lang.Exception
- Perform the operation for the Java client. It may generate the following
error codes during the process: CSS02, CSS03, CSS04, CSS05, CSS06, CSS07.
- Overrides:
executeRequest
in class DSERequestHandler
- Parameters:
channelContext
- com.ibm.btt.clientserver.ChannelContext
- Returns:
- aServerOperation com.ibm.btt.base.ServerOperation
- Throws:
java.lang.Exception
executeSession
protected void executeSession(ChannelContext channelContext)
throws java.lang.Exception
- To support multiple client types using the same session the Java client
requires additional processing to check the application session table for
a valid id The parameter "createSession" can exist in the data kColl only
- Overrides:
executeSession
in class DSERequestHandler
- Parameters:
channelContext
- com.ibm.btt.clientserver.ChannelContext
- Throws:
java.lang.Exception.
java.lang.Exception
preProcessRequest
protected void preProcessRequest(ChannelContext channelContext)
throws DSEException
- Extend this method to perform any initial processing required by the
request handler
Verify that the server is started and the environment is initialized
- Overrides:
preProcessRequest
in class DSERequestHandler
- Parameters:
channelContext
- com.ibm.btt.clientserver.ChannelContext
- Throws:
DSEException
(c) Copyright IBM Corporation 1998, 2011