Consists of information regarding the status of the request performed.
com.sap.mobile.lib.request
public class RequestStateElement implements IRequestStateElement
All members of RequestStateElement, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
protected int | mErrorCode | Stores the error type. |
protected int | mHttpStatus | Stores the HTTP status if available. |
protected HttpResponse | mResponse | |
protected Exception | mException | Stores the exception if available. |
Modifier and Type | Constructor | Description |
---|---|---|
public | RequestStateElement() | |
public | RequestStateElement(final int) | |
public | RequestStateElement(final int, final Exception) | |
public | RequestStateElement(final int, final int) | |
public | RequestStateElement(final int, final int, final Exception) | |
public | RequestStateElement(final int, HttpResponse) | |
public | RequestStateElement(final int, HttpResponse, 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 abstract void | setHttpStatusCode(final int) | Sets the HTTP status. |