Enum ResponseHeader

    • Enum Constant Detail

      • CACHE_CONTROL_HEADER

        public static final ResponseHeader CACHE_CONTROL_HEADER
      • CLUSTER_PRIMARY_OWNER_HEADER

        public static final ResponseHeader CLUSTER_PRIMARY_OWNER_HEADER
      • CLUSTER_BACKUP_OWNERS_HEADER

        public static final ResponseHeader CLUSTER_BACKUP_OWNERS_HEADER
      • CLUSTER_NODE_NAME_HEADER

        public static final ResponseHeader CLUSTER_NODE_NAME_HEADER
      • CLUSTER_SERVER_ADDRESS_HEADER

        public static final ResponseHeader CLUSTER_SERVER_ADDRESS_HEADER
      • CONTENT_LENGTH_HEADER

        public static final ResponseHeader CONTENT_LENGTH_HEADER
      • CONTENT_TYPE_HEADER

        public static final ResponseHeader CONTENT_TYPE_HEADER
      • KEY_CONTENT_TYPE_HEADER

        public static final ResponseHeader KEY_CONTENT_TYPE_HEADER
      • LAST_MODIFIED_HEADER

        public static final ResponseHeader LAST_MODIFIED_HEADER
      • LAST_USED_HEADER

        public static final ResponseHeader LAST_USED_HEADER
      • MAX_IDLE_TIME_HEADER

        public static final ResponseHeader MAX_IDLE_TIME_HEADER
      • TIME_TO_LIVE_HEADER

        public static final ResponseHeader TIME_TO_LIVE_HEADER
      • TRANSFER_ENCODING

        public static final ResponseHeader TRANSFER_ENCODING
      • VALUE_CONTENT_TYPE_HEADER

        public static final ResponseHeader VALUE_CONTENT_TYPE_HEADER
      • WWW_AUTHENTICATE_HEADER

        public static final ResponseHeader WWW_AUTHENTICATE_HEADER
    • Method Detail

      • values

        public static ResponseHeader[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ResponseHeader c : ResponseHeader.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ResponseHeader valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()