类 Resp

java.lang.Object
org.tio.utils.resp.Resp
所有已实现的接口:
Serializable

public class Resp extends Object implements Serializable
作者:
tanyaowu 2017年8月18日 下午3:54:27
另请参阅:
  • 方法详细资料

    • fail

      public static Resp fail()
    • fail

      public static Resp fail(String msg)
    • ok

      public static Resp ok()
    • ok

      public static Resp ok(Object data)
    • code

      public Resp code(Integer code)
    • data

      public Resp data(Object data)
    • getCode

      public Integer getCode()
    • getData

      public Object getData()
    • getMsg

      public String getMsg()
    • isOk

      public boolean isOk()
    • msg

      public Resp msg(String msg)
    • setCode

      public void setCode(Integer code)
    • setData

      public void setData(Object data)
    • setMsg

      public void setMsg(String msg)