public class Result<T> extends Object implements Serializable
Result(T data, Integer code, String msg)
static Result<String>
fail()
fail(Integer code, String msg)
fail(String msg)
ok()
static Result
ok(Object data)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Result(T data, Integer code, String msg)
public static Result<String> ok()
public static Result ok(Object data)
public static Result<String> fail(String msg)
public static Result<String> fail(Integer code, String msg)
public static Result<String> fail()
Copyright © 2021. All rights reserved.