|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.btt.cs.servlet.CSReqServlet
com.ibm.btt.cs.servlet.CSEstablishSessionServlet
com.ibm.btt.cs.servlet.CSAssignServiceIdAndServerTIDProtocolServlet
The CSAssignServiceIdAndServerTIDProtocolServlet extends CSEstablishSessionServlet class
This servlet defines the front door for all java client devices supporting the HTTP protocol and should be invoked to establish the session between the client and the server
Field Summary |
---|
Fields inherited from class com.ibm.btt.cs.servlet.CSReqServlet |
---|
javaClientException, javaClientTrace |
Constructor Summary | |
---|---|
CSAssignServiceIdAndServerTIDProtocolServlet()
CSEstablishSessionProtocolServlet constructor |
Method Summary | |
---|---|
protected void |
handleServerResponse(ChannelContext channelContext,
java.lang.Exception ex)
Convenience method to ensure that a response is returned to the java client for the case where no presentation handler exists because the server is not initialized |
void |
parseRequestData(ChannelContext channelContext)
Parse the input stream from the the HttpServletRequest Parse to the request data into the KeyedCollection. |
void |
preProcessRequest(ChannelContext channelContext)
Perform any session management/control required at the device level. |
Methods inherited from class com.ibm.btt.cs.servlet.CSEstablishSessionServlet |
---|
getSessionId, service |
Methods inherited from class com.ibm.btt.cs.servlet.CSReqServlet |
---|
createChannelContext, createChannelHandler, getDeviceType, getPresentationHandler, getRequestHandler, handleException, handleException, parseRequestHeader, runInSession, 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 |
public CSAssignServiceIdAndServerTIDProtocolServlet()
Method Detail |
protected void handleServerResponse(ChannelContext channelContext, java.lang.Exception ex) throws java.lang.Exception
handleServerResponse
in class CSReqServlet
channelContext
- com.ibm.btt.clientserver.ChannelContextex
- java.lang.Exception
java.lang.Exception
public void parseRequestData(ChannelContext channelContext) throws java.lang.Exception
Parse to the request data into the KeyedCollection. Add the kColl to the ChannelContext request data
If the channel is using cookies to support session id, initially the session id and server id are passed in the request
parseRequestData
in interface ChannelDriver
parseRequestData
in class CSReqServlet
channelContext
- com.ibm.btt.clientserver.ChannelContext
java.lang.Exception
public void preProcessRequest(ChannelContext channelContext) throws DSECSSessionNotEstablishedException
Insert the channel session into the ChannelContext. Additional requirements for the java client
Create an new instance of the session if:
preProcessRequest
in interface ChannelDriver
preProcessRequest
in class CSEstablishSessionServlet
channelContext
- com.ibm.btt.clientserver.ChannelContext
DSECSSessionNotEstablishedException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |