public class GateResult<Result>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GateResult.ErrorResult |
| Modifier and Type | Field and Description |
|---|---|
GateResult.ErrorResult |
error |
Result |
result |
int |
statusCode |
| Constructor and Description |
|---|
GateResult() |
| Modifier and Type | Method and Description |
|---|---|
static <T> GateResult<T> |
copyError(GateResult<?> another) |
java.lang.String |
getMessage() |
boolean |
isOk() |
public Result result
public GateResult.ErrorResult error
public int statusCode
public static <T> GateResult<T> copyError(GateResult<?> another)
public boolean isOk()
public java.lang.String getMessage()