类 ConfigQueryResponse

java.lang.Object
com.alibaba.nacos.api.remote.response.Response
com.alibaba.nacos.api.config.remote.response.ConfigQueryResponse

public class ConfigQueryResponse extends Response
ConfigQueryResponse.
版本:
$Id: ConfigQueryResponse.java, v 0.1 2020年07月14日 2:47 PM liuzunfei Exp $
作者:
liuzunfei
  • 字段详细资料

    • CONFIG_NOT_FOUND

      public static final int CONFIG_NOT_FOUND
      另请参阅:
      常量字段值
    • CONFIG_QUERY_CONFLICT

      public static final int CONFIG_QUERY_CONFLICT
      另请参阅:
      常量字段值
  • 构造器详细资料

    • ConfigQueryResponse

      public ConfigQueryResponse()
  • 方法详细资料

    • buildFailResponse

      public static ConfigQueryResponse buildFailResponse(int errorCode, String message)
      Build fail response.
      参数:
      errorCode - errorCode.
      message - message.
      返回:
      response.
    • buildSuccessResponse

      public static ConfigQueryResponse buildSuccessResponse(String content)
      Build success response.
      参数:
      content - content.
      返回:
      response.
    • getTag

      public String getTag()
    • setTag

      public void setTag(String tag)
    • getMd5

      public String getMd5()
    • setMd5

      public void setMd5(String md5)
    • getLastModified

      public long getLastModified()
    • setLastModified

      public void setLastModified(long lastModified)
    • isBeta

      public boolean isBeta()
    • setBeta

      public void setBeta(boolean beta)
    • getContent

      public String getContent()
      Getter method for property content.
      返回:
      property value of content
    • setContent

      public void setContent(String content)
      Setter method for property content.
      参数:
      content - value to be assigned to property content
    • setEncryptedDataKey

      public void setEncryptedDataKey(String encryptedDataKey)
    • getEncryptedDataKey

      public String getEncryptedDataKey()
    • getContentType

      public String getContentType()
      Getter method for property contentType.
      返回:
      property value of contentType
    • setContentType

      public void setContentType(String contentType)
      Setter method for property contentType.
      参数:
      contentType - value to be assigned to property contentType