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 ()

Since: API Level 1

Public Methods

public long getBytesTransferred ()

Since: API Level 1

Returns the number of bytes trasferred.

public void incrementBytesTransferred (long count)

Since: API Level 1

public void reset ()

Since: API Level 1

Resets the counts

public void setBytesTransferred (long count)

Since: API Level 1