Top Description Methods
org.apache.hc.core5.http

public Interface HttpConnectionMetrics

Known Direct Implementers
org.apache.hc.core5.http.impl.BasicHttpConnectionMetrics, org.apache.hc.core5.http.EndpointDetails

The point of access to the statistics of an HttpConnection.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public long
getReceivedBytesCount()

Gets the number of bytes transferred over the connection, 0 if not available.

public long
getRequestCount()

Gets the number of requests transferred over the connection, 0 if not available.

public long
getResponseCount()

Gets the number of responses transferred over the connection, 0 if not available.

public long
getSentBytesCount()

Gets the number of bytes transferred over the connection, 0 if not available.

Method Detail

getReceivedBytesCountback to summary
public long getReceivedBytesCount()

Gets the number of bytes transferred over the connection, 0 if not available.

getRequestCountback to summary
public long getRequestCount()

Gets the number of requests transferred over the connection, 0 if not available.

getResponseCountback to summary
public long getResponseCount()

Gets the number of responses transferred over the connection, 0 if not available.

getSentBytesCountback to summary
public long getSentBytesCount()

Gets the number of bytes transferred over the connection, 0 if not available.