类 PushAckRequest

  • 所有已实现的接口:
    Payload

    public class PushAckRequest
    extends InternalRequest
    push ack request.
    版本:
    $Id: PushAckRequest.java, v 0.1 2020年07月29日 8:25 PM liuzunfei Exp $
    作者:
    liuzunfei
    • 字段详细资料

      • requestId

        private java.lang.String requestId
      • success

        private boolean success
      • exception

        private java.lang.Exception exception
    • 构造器详细资料

      • PushAckRequest

        public PushAckRequest()
    • 方法详细资料

      • build

        public static PushAckRequest build​(java.lang.String requestId,
                                           boolean success)
        build push ack request.
        参数:
        requestId - requestId.
        返回:
        request.
      • getRequestId

        public java.lang.String getRequestId()
        Getter method for property requestId.
        覆盖:
        getRequestId 在类中 Request
        返回:
        property value of requestId
      • setRequestId

        public void setRequestId​(java.lang.String requestId)
        Setter method for property requestId.
        覆盖:
        setRequestId 在类中 Request
        参数:
        requestId - value to be assigned to property requestId
      • isSuccess

        public boolean isSuccess()
        Getter method for property success.
        返回:
        property value of success
      • setSuccess

        public void setSuccess​(boolean success)
        Setter method for property success.
        参数:
        success - value to be assigned to property success
      • setException

        public void setException​(java.lang.Exception exception)
        Setter method for property exception.
        参数:
        exception - value to be assigned to property exception
      • getException

        public java.lang.Exception getException()
        Getter method for property exception.
        返回:
        property value of exception