WebServex
Class TransactionReport

java.lang.Object
  |
  +--WebServex.TransactionReport

public class TransactionReport
extends java.lang.Object

TransactionReports are created in HTTPClient and added to Stats collection


Constructor Summary
TransactionReport()
          Creates new TransactionReport
TransactionReport(java.lang.String Name, java.lang.String Req, java.lang.String Resp, long time)
           
TransactionReport(java.lang.String Name, java.lang.String Req, java.lang.String Resp, long time, java.lang.String status)
          This is the main constructor Parameters: String Name is the name of Client usually Thread name String Request is HTTP Request Message String Response is HTTP Respone long time is round trip miliseconds String Status explains how the communication went
 
Method Summary
 java.lang.String getBody()
          returns the body part of HTTP response
 java.lang.String getHead()
          returns the Head part of HTTP response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionReport

public TransactionReport()
Creates new TransactionReport


TransactionReport

public TransactionReport(java.lang.String Name,
                         java.lang.String Req,
                         java.lang.String Resp,
                         long time)

TransactionReport

public TransactionReport(java.lang.String Name,
                         java.lang.String Req,
                         java.lang.String Resp,
                         long time,
                         java.lang.String status)
This is the main constructor Parameters: String Name is the name of Client usually Thread name String Request is HTTP Request Message String Response is HTTP Respone long time is round trip miliseconds String Status explains how the communication went

Method Detail

getHead

public java.lang.String getHead()
returns the Head part of HTTP response


getBody

public java.lang.String getBody()
returns the body part of HTTP response