Enum RequestHeader

    • Enum Constant Detail

      • CACHE_CONTROL_HEADER

        public static final RequestHeader CACHE_CONTROL_HEADER
      • CONTENT_ENCODING_HEADER

        public static final RequestHeader CONTENT_ENCODING_HEADER
      • CONTENT_TYPE_HEADER

        public static final RequestHeader CONTENT_TYPE_HEADER
      • CREATED_HEADER

        public static final RequestHeader CREATED_HEADER
      • EXTENDED_HEADER

        public static final RequestHeader EXTENDED_HEADER
      • IF_MODIFIED_SINCE

        public static final RequestHeader IF_MODIFIED_SINCE
      • IF_UNMODIFIED_SINCE

        public static final RequestHeader IF_UNMODIFIED_SINCE
      • KEY_CONTENT_TYPE_HEADER

        public static final RequestHeader KEY_CONTENT_TYPE_HEADER
      • LAST_USED_HEADER

        public static final RequestHeader LAST_USED_HEADER
      • MAX_TIME_IDLE_HEADER

        public static final RequestHeader MAX_TIME_IDLE_HEADER
      • TTL_SECONDS_HEADER

        public static final RequestHeader TTL_SECONDS_HEADER
    • Method Detail

      • values

        public static RequestHeader[] 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 (RequestHeader c : RequestHeader.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RequestHeader 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()