public abstract class EndpointDetails extends Object implements HttpConnectionMetrics
| Modifier | Constructor and Description | 
|---|---|
| protected  | EndpointDetails(SocketAddress remoteAddress,
               SocketAddress localAddress,
               Timeout socketTimeout) | 
| Modifier and Type | Method and Description | 
|---|---|
| SocketAddress | getLocalAddress() | 
| abstract long | getReceivedBytesCount()Gets the number of bytes transferred over the connection,
 0 if not available. | 
| SocketAddress | getRemoteAddress() | 
| abstract long | getRequestCount()Gets the number of requests transferred over the connection,
 0 if not available. | 
| abstract long | getResponseCount()Gets the number of responses transferred over the connection,
 0 if not available. | 
| abstract long | getSentBytesCount()Gets the number of bytes transferred over the connection,
 0 if not available. | 
| Timeout | getSocketTimeout()Gets the socket timeout. | 
| String | toString()Returns a string representation of the object. | 
protected EndpointDetails(SocketAddress remoteAddress, SocketAddress localAddress, Timeout socketTimeout)
public SocketAddress getLocalAddress()
public abstract long getReceivedBytesCount()
getReceivedBytesCount in interface HttpConnectionMetricspublic SocketAddress getRemoteAddress()
public abstract long getRequestCount()
getRequestCount in interface HttpConnectionMetricspublic abstract long getResponseCount()
getResponseCount in interface HttpConnectionMetricspublic abstract long getSentBytesCount()
getSentBytesCount in interface HttpConnectionMetricspublic Timeout getSocketTimeout()
public String toString()
ObjecttoString method returns a
 string that "textually represents" this object. The result should be a concise but informative
 representation that is easy for a person to read. It is recommended that all subclasses override
 this method.
 
 The toString method for class Object returns a string consisting of the name of
 the class of which the object is an instance, the at-sign character `@', and the unsigned
 hexadecimal representation of the hash code of the object. In other words, this method returns a
 string equal to the value of: 
getClass().getName() + '@' + Integer.toHexString(hashCode())