All members of RequestStateElement, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
protected int | mErrorCode | Stores the error type. |
protected Exception | mException | Stores the exception if available. |
protected int | mHttpStatus | Stores the HTTP status if available. |
protected HttpResponse | mResponse |
Modifier and Type | Constructor | Description |
---|---|---|
public | RequestStateElement() | |
public | RequestStateElement(final int) | |
public | RequestStateElement(final int, HttpResponse) | |
public | RequestStateElement(final int, HttpResponse, Exception) | |
public | RequestStateElement(final int, final int) | |
public | RequestStateElement(final int, final int, final Exception) | |
public | RequestStateElement(final int, final Exception) |
Modifier and Type | Method | Description |
---|---|---|
public int | getErrorCode() | Returns the error code. |
public Exception | getException() | Returns the exception if it is set. |
public HttpResponse | getHttpResponse() | Returns the HttpResponse. |
public int | getHttpStatusCode() | Returns the HTTP status if it is set. |
public void | setErrorCode(final int) | Sets the error code. |
public void | setException(final Exception) | Sets the exception. |
public void | setHttpResponse(HttpResponse) | Sets the HttpResponse. |
public void | setHttpStatusCode(int) |
Modifier and Type | Member | Description |
---|---|---|
public static final int | AUTHENTICATION_ERROR | Authentication error. |
public static final int | CLIENT_ERROR | Client error. |
public static final int | HTTP_ERROR | Server response status > 302. |
public static final int | NETWORK_ERROR | There was a network error during a read/write to/from stream. |
public static final int | NO_ERROR | |
public static final int | PARSE_ERROR | Problem with parsing the response xml. |
public static final int | REQUEST_ERROR | Problem with parsing the request. |
public abstract void | setHttpStatusCode(final int) | Sets the HTTP status. |