| org.apache.http.HttpConnectionMetrics |
Known Indirect Subclasses
|
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.