com.ibm.dse.cs.java
Class JavaRequestHandler

java.lang.Object
  |
  +--com.ibm.dse.clientserver.DSERequestHandler
        |
        +--com.ibm.dse.cs.java.JavaRequestHandler
Direct Known Subclasses:
XmlRequestHandler

public class JavaRequestHandler
extends DSERequestHandler

This class implements RequestHandler interface and extends JavaRequestHandler.

This class provides the implementation specific for the java client types


Constructor Summary
JavaRequestHandler()
          JavaRequestHandler constructor.
 
Method Summary
protected  void endRequest(ServerOperation anOperation)
          Close the operation.
protected  ServerOperation 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  java.lang.String getSessionId(ChannelContext aChannelContext)
          Convenience method to dertermine the session id from the channel session
protected  void preProcessRequest(ChannelContext channelContext)
          Extend this method to perform any initial processing required by the request handler
 
Methods inherited from class com.ibm.dse.clientserver.DSERequestHandler
getPresentationHandler, handleException, handleException, processRequest, processSessionRequest, usingCookies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaRequestHandler

public JavaRequestHandler()
JavaRequestHandler constructor.
Method Detail

endRequest

protected void endRequest(ServerOperation anOperation)
Close the operation.
Overrides:
endRequest in class DSERequestHandler
Parameters:
anOperation - com.ibm.dse.base.ServerOperation

executeRequest

protected ServerOperation executeRequest(ChannelContext channelContext)
                                  throws java.lang.Exception
Perform the operation for the Java client
Overrides:
executeRequest in class DSERequestHandler
Parameters:
channelContext - com.ibm.dse.clientserver.ChannelContext
Returns:
aServerOperation com.ibm.dse.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.dse.clientserver.ChannelContext
Throws:
java.lang.Exception. -  

getSessionId

protected java.lang.String getSessionId(ChannelContext aChannelContext)
Convenience method to dertermine the session id from the channel session
Parameters:
aChannelContext - com.ibm.dse.clientserver.ChannelContext
Returns:
java.lang.String

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.dse.clientserver.ChannelContext
Throws:
DSEException -