com.ibm.dse.cs.servlet
Class CSReqProtocolServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.ibm.dse.cs.servlet.CSReqServlet
                    |
                    +--com.ibm.dse.cs.servlet.CSReqProtocolServlet

public class CSReqProtocolServlet
extends CSReqServlet

The CSReqProtocolServlet extends CSReqServlet class

This servlet defines the front door for all java devices and should be invoked to perform all operations

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.cs.servlet.CSReqServlet
sessionAffinity, sessionPersistence
 
Constructor Summary
CSReqProtocolServlet()
          CSReqProtocolServlet constructor.
 
Method Summary
protected  void handleServerResponse(ChannelContext channelContext, java.lang.Exception e)
          Convenience method to ensure that a response is returned to the client for the case where no presentation handler exists or because the server is not initialized
 void parseRequestData(ChannelContext channelContext)
          Parse the input stream from the HttpServletRequest.
 
Methods inherited from class com.ibm.dse.cs.servlet.CSReqServlet
createChannelContext, createChannelHandler, createSessionEntry, getDeviceType, getPresentationHandler, getRequestHandler, getSessionAffinity, getSessionPersistence, handleException, handleException, parseRequestHeader, preProcessRequest, removeSessionEntry, retrieve, retrieveWithoutSessionAffinity, retrieveWithSessionAffinity, runInSession, service, setSessionAffinity, setSessionAffinity, setSessionPersistence, setSessionPersistence, store, updateChannelHandler, usingCookies
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSReqProtocolServlet

public CSReqProtocolServlet()
CSReqProtocolServlet constructor.
Method Detail

handleServerResponse

protected void handleServerResponse(ChannelContext channelContext,
                                    java.lang.Exception e)
                             throws java.lang.Exception
Convenience method to ensure that a response is returned to the client for the case where no presentation handler exists or because the server is not initialized
Overrides:
handleServerResponse in class CSReqServlet
Parameters:
channelContext - com.ibm.dse.clientserver.ChannelContext
java.lang.Exception -  
Throws:
java.lang.DSECSServerNotStartedException -  

parseRequestData

public void parseRequestData(ChannelContext channelContext)
                      throws java.lang.Exception
Parse the input stream from the HttpServletRequest. Use the parameters defined by the protocol The session id is optional

Parse to the request data into the KeyedCollection at the data element

Overrides:
parseRequestData in class CSReqServlet
Parameters:
channelContext - com.ibm.dse.clientserver.ChannelContext