|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jbenchmark.TestResult
net.sf.jbenchmark.HttpTestResult
The result of an HTTP test.
Constructor Summary | |
HttpTestResult(Test test,
int statusCode,
long responseSize,
long getTime)
Creates a HttpTestResult. |
Method Summary | |
long |
getResponseSize()
Returns the size of the response body (ie without the headers), in bytes. |
long |
getResponseTime()
Returns the time between making the request and receiving + parsing the response header. |
int |
getStatusCode()
Gets the status code. |
Methods inherited from class net.sf.jbenchmark.TestResult |
getDuration, getTest, setDuration, setTest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpTestResult(Test test, int statusCode, long responseSize, long getTime)
Method Detail |
public int getStatusCode()
public long getResponseSize()
public long getResponseTime()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |