public class Result extends Object implements Serializable
Result()
static Result
fail(String msg)
String
getCode()
getMsg()
Object
getPayload()
of(Object payload)
of(String code, String msg)
ok()
void
setPayload(Object payload)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Result()
public static Result of(Object payload)
public static Result ok()
public static Result of(String code, String msg)
public static Result fail(String msg)
public String getCode()
public String getMsg()
public Object getPayload()
public void setPayload(Object payload)
Copyright © 2018–2023. All rights reserved.