public static enum HttpResponse.State extends Enum<HttpResponse.State>
| Enum Constant and Description |
|---|
Downloading
Скачивание данных
|
Finished
Конечное состояние, скачивание не производится
|
Pause
Пауза
|
Prepare
Начальное состояние
|
Started
Посылка запроса
|
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpResponse.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpResponse.State Prepare
public static final HttpResponse.State Started
public static final HttpResponse.State Downloading
public static final HttpResponse.State Pause
public static final HttpResponse.State Finished
public static HttpResponse.State[] values()
for (HttpResponse.State c : HttpResponse.State.values()) System.out.println(c);
public static HttpResponse.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.