类 ConfigQueryResponse
java.lang.Object
com.alibaba.nacos.api.remote.response.Response
com.alibaba.nacos.api.config.remote.response.ConfigQueryResponse
- 所有已实现的接口:
Payload
ConfigQueryResponse.
- 版本:
- $Id: ConfigQueryResponse.java, v 0.1 2020年07月14日 2:47 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final int -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ConfigQueryResponsebuildFailResponse(int errorCode, String message) Build fail response.static ConfigQueryResponsebuildSuccessResponse(String content) Build success response.Getter method for property content.Getter method for property contentType.longgetMd5()getTag()booleanisBeta()voidsetBeta(boolean beta) voidsetContent(String content) Setter method for property content.voidsetContentType(String contentType) Setter method for property contentType.voidsetEncryptedDataKey(String encryptedDataKey) voidsetLastModified(long lastModified) voidvoid从类继承的方法 com.alibaba.nacos.api.remote.response.Response
getErrorCode, getMessage, getRequestId, getResultCode, isSuccess, setErrorCode, setErrorInfo, setMessage, setRequestId, setResultCode, toString
-
字段详细资料
-
构造器详细资料
-
ConfigQueryResponse
public ConfigQueryResponse()
-
-
方法详细资料
-
buildFailResponse
Build fail response.- 参数:
errorCode- errorCode.message- message.- 返回:
- response.
-
buildSuccessResponse
Build success response.- 参数:
content- content.- 返回:
- response.
-
getTag
-
setTag
-
getMd5
-
setMd5
-
getLastModified
public long getLastModified() -
setLastModified
public void setLastModified(long lastModified) -
isBeta
public boolean isBeta() -
setBeta
public void setBeta(boolean beta) -
getContent
Getter method for property content.- 返回:
- property value of content
-
setContent
Setter method for property content.- 参数:
content- value to be assigned to property content
-
setEncryptedDataKey
-
getEncryptedDataKey
-
getContentType
Getter method for property contentType.- 返回:
- property value of contentType
-
setContentType
Setter method for property contentType.- 参数:
contentType- value to be assigned to property contentType
-