public final class HttpProgress extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
HttpProgress.Phase |
| コンストラクタと説明 |
|---|
HttpProgress(HttpProgress.Phase phase,
int code,
long bytesProceeded,
long contentLength) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
getBytesProceeded() |
int |
getCode() |
long |
getContentLength() |
int |
getCurrent() |
static int |
getCurrent(long rawCurrent,
long rawMax) |
String |
getMessage() |
double |
getPercentage() |
static double |
getPercentage(long rawCurrent,
long rawMax) |
HttpProgress.Phase |
getPhase() |
long |
getRawCurrent() |
long |
getRawMax() |
void |
setMessage(String message) |
String |
toString() |
public HttpProgress(HttpProgress.Phase phase, int code, long bytesProceeded, long contentLength)
public HttpProgress.Phase getPhase()
public int getCode()
public long getBytesProceeded()
public long getContentLength()
public int getCurrent()
public double getPercentage()
public long getRawCurrent()
public long getRawMax()
public String getMessage()
public void setMessage(String message)
public static double getPercentage(long rawCurrent,
long rawMax)
public static int getCurrent(long rawCurrent,
long rawMax)