类 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
push ack request.
- 版本:
- $Id: PushAckRequest.java, v 0.1 2020年07月29日 8:25 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static PushAckRequestbuild push ack request.Getter method for property exception.Getter method for property requestId.booleanGetter method for property success.voidsetException(Exception exception)Setter method for property exception.voidsetRequestId(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
-
构造器详细资料
-
PushAckRequest
public PushAckRequest()
-
-
方法详细资料
-
build
build push ack request.- 参数:
requestId- requestId.- 返回:
- request.
-
getRequestId
Getter method for property requestId.- 覆盖:
getRequestId在类中Request- 返回:
- property value of requestId
-
setRequestId
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
Setter method for property exception.- 参数:
exception- value to be assigned to property exception
-
getException
Getter method for property exception.- 返回:
- property value of exception
-