类 ConfigQueryResponse

  • 所有已实现的接口:
    Payload

    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
        另请参阅:
        常量字段值
      • content

        java.lang.String content
      • encryptedDataKey

        java.lang.String encryptedDataKey
      • contentType

        java.lang.String contentType
      • md5

        java.lang.String md5
      • lastModified

        long lastModified
      • isBeta

        boolean isBeta
      • tag

        java.lang.String tag
    • 构造器详细资料

      • ConfigQueryResponse

        public ConfigQueryResponse()
    • 方法详细资料

      • buildFailResponse

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

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

        public java.lang.String getTag()
      • setTag

        public void setTag​(java.lang.String tag)
      • getMd5

        public java.lang.String getMd5()
      • setMd5

        public void setMd5​(java.lang.String md5)
      • getLastModified

        public long getLastModified()
      • setLastModified

        public void setLastModified​(long lastModified)
      • isBeta

        public boolean isBeta()
      • setBeta

        public void setBeta​(boolean beta)
      • getContent

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

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

        public void setEncryptedDataKey​(java.lang.String encryptedDataKey)
      • getEncryptedDataKey

        public java.lang.String getEncryptedDataKey()
      • getContentType

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

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