IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.html
Class HtmlRequestData

java.lang.Object
  extended by com.ibm.btt.cs.html.HtmlRequestData

public class HtmlRequestData
extends java.lang.Object

Encapsulate the objects which are used when processing a request from an html client. Instances of this class are used to manage Html back and double post processing.


Field Summary
 boolean answered
           
 ChannelContext channelContext
           
 java.lang.Exception firstException
           
 boolean firstFinished
           
 BTTServerOperation operation
           
 java.util.Date operCompleteTime
           
 Semaphore operInProcessSem
           
 
Constructor Summary
HtmlRequestData(ChannelContext channelContext, BTTServerOperation operation)
          Constructor method for this class.
HtmlRequestData(ChannelContext channelContext, BTTServerOperation operation, Semaphore sem)
          Constructor method for this class.
 
Method Summary
 void addToCounter(Semaphore requestSem, boolean firstRequest)
          add the current semaphore to waitingThread, Added for PMR35836
 int getCounter()
          Return the total counter,Added for PMR35836/JR23064 start
 void removeFromCounter(boolean requestFinised)
          Remove the semaphore from waitingThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

channelContext

public ChannelContext channelContext

operation

public BTTServerOperation operation

operInProcessSem

public Semaphore operInProcessSem

operCompleteTime

public java.util.Date operCompleteTime

answered

public boolean answered

firstFinished

public boolean firstFinished

firstException

public java.lang.Exception firstException
Constructor Detail

HtmlRequestData

public HtmlRequestData(ChannelContext channelContext,
                       BTTServerOperation operation)
Constructor method for this class.

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
operation - com.ibm.btt.base.ServerOperation

HtmlRequestData

public HtmlRequestData(ChannelContext channelContext,
                       BTTServerOperation operation,
                       Semaphore sem)
Constructor method for this class.

Parameters:
channelContext - com.ibm.btt.clientserver.ChannelContext
operation - com.ibm.btt.base.ServerOperation
Method Detail

getCounter

public int getCounter()
Return the total counter,Added for PMR35836/JR23064 start

Returns:
int

addToCounter

public void addToCounter(Semaphore requestSem,
                         boolean firstRequest)
add the current semaphore to waitingThread, Added for PMR35836


removeFromCounter

public void removeFromCounter(boolean requestFinised)
Remove the semaphore from waitingThread


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010