E - The BoxObject that was generated from a response to a BoxRequest.public class BoxResponse<E extends BoxObject>
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Exception |
mException |
protected BoxRequest |
mRequest |
protected E |
mResult |
| Constructor and Description |
|---|
BoxResponse(E result,
java.lang.Exception ex,
BoxRequest request) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException() |
BoxRequest |
getRequest() |
E |
getResult() |
boolean |
isSuccess() |
protected final java.lang.Exception mException
protected final BoxRequest mRequest
public BoxResponse(E result, java.lang.Exception ex, BoxRequest request)
result - the BoxObject generated from handling BoxHttpResponse if any.ex - the exception thrown from a handling a BoxHttpResponse if any.request - the original request that generated the BoxHttpResponse sourcing the result or exception.public E getResult()
public java.lang.Exception getException()
public BoxRequest getRequest()
public boolean isSuccess()