Top Description Fields Constructors Methods
org.apache.hc.core5.http.impl

public final Class BasicEndpointDetails

extends EndpointDetails
Class Inheritance
Imports
java.net.SocketAddress, org.apache.hc.core5.http.EndpointDetails, .HttpConnectionMetrics, org.apache.hc.core5.util.Timeout

Basic HTTP connection endpoint details.
Since
5.0

Field Summary

Modifier and TypeField and Description
private final HttpConnectionMetrics

Constructor Summary

AccessConstructor and Description
public
BasicEndpointDetails(final SocketAddress remoteAddress, final SocketAddress localAddress, final HttpConnectionMetrics metrics, final Timeout socketTimeout)

Method Summary

Modifier and TypeMethod and Description
public long
getReceivedBytesCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getReceivedBytesCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getReceivedBytesCount.

Gets the number of bytes transferred over the connection, 0 if not available.
public long
getRequestCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getRequestCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getRequestCount.

Gets the number of requests transferred over the connection, 0 if not available.
public long
getResponseCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getResponseCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getResponseCount.

Gets the number of responses transferred over the connection, 0 if not available.
public long
getSentBytesCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getSentBytesCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getSentBytesCount.

Gets the number of bytes transferred over the connection, 0 if not available.
Inherited from org.apache.hc.core5.http.EndpointDetails:
getLocalAddressgetRemoteAddressgetSocketTimeouttoString

Field Detail

metricsback to summary
private final HttpConnectionMetrics metrics

Constructor Detail

BasicEndpointDetailsback to summary
public BasicEndpointDetails(final SocketAddress remoteAddress, final SocketAddress localAddress, final HttpConnectionMetrics metrics, final Timeout socketTimeout)

Method Detail

getReceivedBytesCountback to summary
public long getReceivedBytesCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getReceivedBytesCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getReceivedBytesCount.

Doc from org.apache.hc.core5.http.EndpointDetails.getReceivedBytesCount.

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

Annotations
@Override
getRequestCountback to summary
public long getRequestCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getRequestCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getRequestCount.

Doc from org.apache.hc.core5.http.EndpointDetails.getRequestCount.

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

Annotations
@Override
getResponseCountback to summary
public long getResponseCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getResponseCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getResponseCount.

Doc from org.apache.hc.core5.http.EndpointDetails.getResponseCount.

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

Annotations
@Override
getSentBytesCountback to summary
public long getSentBytesCount()

Implements abstract org.apache.hc.core5.http.EndpointDetails.getSentBytesCount.

Implements org.apache.hc.core5.http.HttpConnectionMetrics.getSentBytesCount.

Doc from org.apache.hc.core5.http.EndpointDetails.getSentBytesCount.

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

Annotations
@Override