Skip to content

Most visited

Recently visited

navigation

HttpTransportMetricsImpl | Android Developers

to top
Android APIs
public class

HttpTransportMetricsImpl

extends Object
implements HttpTransportMetrics
java.lang.Object
   ↳ org.apache.http.impl.io.HttpTransportMetricsImpl

Class Overview

Default implementation of HttpTransportMetrics.

Summary

Public Constructors
HttpTransportMetricsImpl()
Public Methods
long getBytesTransferred()
Returns the number of bytes trasferred.
void incrementBytesTransferred(long count)
void reset()
Resets the counts
void setBytesTransferred(long count)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.HttpTransportMetrics

Public Constructors

public HttpTransportMetricsImpl ()

Added in API level 1

Public Methods

public long getBytesTransferred ()

Added in API level 1

Returns the number of bytes trasferred.

public void incrementBytesTransferred (long count)

Added in API level 1

public void reset ()

Added in API level 1

Resets the counts

public void setBytesTransferred (long count)

Added in API level 1

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.