RequestStateElement class

Consists of information regarding the status of the request performed.

Package

com.sap.mobile.lib.request

Syntax

public class RequestStateElement implements IRequestStateElement

Implemented interfaces

Members

All members of RequestStateElement, including inherited members.

Variables
Modifier 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.
Constructors Methods
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)  
Inherited members from IRequestStateElement
Modifier and Type Member Description
public abstract void setHttpStatusCode(final int) Sets the HTTP status.