HttpConnection.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public long | getReceivedBytesCount()
Returns the number of bytes transferred over the connection, 0 if not available. |
| public long | getRequestCount()
Returns the number of requests transferred over the connection, 0 if not available. |
| public long | getResponseCount()
Returns the number of responses transferred over the connection, 0 if not available. |
| public long | |
| public void |
| getMetric | back to summary |
|---|---|
| public Object getMetric(String metricName) Return the value for the specified metric. | |
| getReceivedBytesCount | back to summary |
|---|---|
| public long getReceivedBytesCount() Returns the number of bytes transferred over the connection, 0 if not available. | |
| getRequestCount | back to summary |
|---|---|
| public long getRequestCount() Returns the number of requests transferred over the connection, 0 if not available. | |
| getResponseCount | back to summary |
|---|---|
| public long getResponseCount() Returns the number of responses transferred over the connection, 0 if not available. | |
| getSentBytesCount | back to summary |
|---|---|
| public long getSentBytesCount() Returns the number of bytes transferred over the connection, 0 if not available. | |
| reset | back to summary |
|---|---|
| public void reset() Resets the counts | |