IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.cs.servlet
Class CSReqProtocolServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.ibm.btt.cs.servlet.CSReqServlet
              extended bycom.ibm.btt.cs.servlet.CSReqProtocolServlet
All Implemented Interfaces:
ChannelDriver, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

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

Field Summary
 
Fields inherited from class com.ibm.btt.cs.servlet.CSReqServlet
javaClientException, javaClientTrace
 
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.btt.cs.servlet.CSReqServlet
createChannelContext, createChannelHandler, getDeviceType, getPresentationHandler, getRequestHandler, handleException, handleException, parseRequestHeader, preProcessRequest, runInSession, service, updateChannelHandler, usingCookies
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, 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.btt.clientserver.ChannelContext
e -
Throws:
java.lang.Exception - The exception description.

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

Specified by:
parseRequestData in interface ChannelDriver
Overrides:
parseRequestData in class CSReqServlet
Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
Throws:
java.lang.Exception

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005