hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1475) Add a requests count stats readable upon HttpGet querying termination
Date Wed, 05 Mar 2014 12:53:55 GMT
Pascal created HTTPCLIENT-1475:
----------------------------------

             Summary: Add a requests count stats readable upon HttpGet querying termination
                 Key: HTTPCLIENT-1475
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1475
             Project: HttpComponents HttpClient
          Issue Type: New Feature
          Components: HttpClient
    Affects Versions: 4.3.3
            Reporter: Pascal
            Priority: Minor


Hi,

Coding a use case involving massive querying of a web API, but having requests count restrictions,
I'm trying to count all requests sent by HttpClient, including configured default retries
and HTTP501-specific retries.

In a nutshell, the needed feature is an overall requests-sent counter for each processed HttpGet.

I found no way of doing this, and the source of 'org.apache.http.impl.execchain.RetryExec'
(keyword: 'execCount') let me think this is not possible to do so.

Issue is best described on Stackoverflow, also mentionning the ' https://issues.apache.org/jira/browse/HTTPCORE-21
', which may be related (a ' git diff --name-only 4.0-alpha4 4.0-beta1 ' was too big, so I
could not find any relevant usage tip):
http://stackoverflow.com/questions/22195471/how-to-count-all-http-requests-sent-retries-in

It may be a RTFM and documentation issue. I really hope a feature or workaround exists to
achieve so :)

Thanks in advance




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message