类 PushAckRequest
- java.lang.Object
-
- com.alibaba.nacos.api.remote.request.Request
-
- com.alibaba.nacos.api.remote.request.InternalRequest
-
- com.alibaba.nacos.api.remote.request.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
-
-
构造器概要
构造器 构造器 说明 PushAckRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static PushAckRequestbuild(java.lang.String requestId, boolean success)build push ack request.java.lang.ExceptiongetException()Getter method for property exception.java.lang.StringgetRequestId()Getter method for property requestId.booleanisSuccess()Getter method for property success.voidsetException(java.lang.Exception exception)Setter method for property exception.voidsetRequestId(java.lang.String requestId)Setter method for property requestId.voidsetSuccess(boolean success)Setter method for property success.-
从类继承的方法 com.alibaba.nacos.api.remote.request.InternalRequest
getModule
-
从类继承的方法 com.alibaba.nacos.api.remote.request.Request
clearHeaders, getHeader, getHeader, getHeaders, putAllHeader, putHeader, toString
-
-
-
-
方法详细资料
-
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
-
-