org.apache.http.HttpConnectionMetrics |
Known Indirect Subclasses |
This interface is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
The point of access to the statistics of an HttpConnection
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the value for the specified metric.
| |||||||||||
Returns the number of bytes transferred over the connection,
0 if not available.
| |||||||||||
Returns the number of requests transferred over the connection,
0 if not available.
| |||||||||||
Returns the number of responses transferred over the connection,
0 if not available.
| |||||||||||
Returns the number of bytes transferred over the connection,
0 if not available.
| |||||||||||
Resets the counts
|
Return the value for the specified metric.
metricName | the name of the metric to query. |
---|
null
if the metric cannot not found.
Returns the number of bytes transferred over the connection, 0 if not available.
Returns the number of requests transferred over the connection, 0 if not available.
Returns the number of responses transferred over the connection, 0 if not available.
Returns the number of bytes transferred over the connection, 0 if not available.