| Modifier and Type | Class and Description |
|---|---|
static class |
EoResp.Stat |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EoResp() |
| Modifier and Type | Method and Description |
|---|---|
static EoResp |
build(EoResp.Stat stat) |
static EoResp |
build(EoResp.Stat stat,
Object data) |
static EoResp |
build(EoResp.Stat stat,
String message) |
static EoResp |
build(EoResp.Stat stat,
String message,
Object data) |
<T> T |
data() |
EoResp |
data(Object data) |
static EoResp |
fail() |
static EoResp |
fail(Object data) |
static EoResp |
fail(String message) |
static EoResp |
fail(String message,
Object data) |
String |
message() |
EoResp |
message(String message) |
static EoResp |
ok() |
static EoResp |
ok(Object data) |
static EoResp |
ok(String message) |
static EoResp |
ok(String message,
Object data) |
EoResp |
set(String name,
Object value) |
EoResp.Stat |
stat() |
EoResp |
stat(EoResp.Stat stat) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic static EoResp build(EoResp.Stat stat, String message, Object data)
public static EoResp build(EoResp.Stat stat, Object data)
public static EoResp build(EoResp.Stat stat, String message)
public static EoResp build(EoResp.Stat stat)
public static EoResp ok()
public static EoResp fail()
public EoResp.Stat stat()
public EoResp stat(EoResp.Stat stat)
public String message()
public <T> T data()
Copyright © 2019. All rights reserved.