模块 org.redkale

类 ClientResponse<R extends ClientRequest,​P extends ClientResult>

  • 类型参数:
    R - 请求对象
    P - message

    public class ClientResponse<R extends ClientRequest,​P extends ClientResult>
    extends Object
    详情见: https://redkale.org
    从以下版本开始:
    2.3.0
    作者:
    zhangjx
    • 构造器详细资料

      • ClientResponse

        public ClientResponse()
      • ClientResponse

        public ClientResponse​(R request,
                              P message)
      • ClientResponse

        public ClientResponse​(R request,
                              Throwable exc)
    • 方法详细资料

      • prepare

        protected void prepare()
      • recycle

        protected boolean recycle()
      • getRequest

        public R getRequest()
      • setRequest

        public void setRequest​(R request)
      • getMessage

        public P getMessage()
      • setMessage

        public void setMessage​(P message)
      • setCause

        public void setCause​(Throwable cause)