Would like to record and then retrieve the time, in ms, when an "http get"
request is sent and likewise when the first byte of the response is received.
---------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HTTPCLIENT-812
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-812
Project: HttpComponents HttpClient
Issue Type: New Feature
Components: HttpClient
Affects Versions: 3.1 Final
Environment: Windows XP, Java 1.6.0_03, Tomcat 6
Reporter: Lawrence M. Bates
Priority: Minor
Would like to record and then retrieve the time, in ms, when an "http get"
request is sent and likewise when the first byte of the response is received.
Downloaded the source code for commons-httpclient-3.0.1. I built a custom
commons-httpclient-3.0.1.jar where org.apache.commons.httpclient.HttpMethodBase
records the time an "http get" request is first sent (execute method) , along
with adding getters and setters. Also modified
org.apache.commons.httpclient.HttpParser to record, get, and set the time that
the first byte of the response is received.
This non-standard feature allows us in our project to log and audit how long
it's taking the targeted server to respond to our requests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]