Package io.github.wimdeblauwe.hsbt.mvc
Enum HtmxRequestHeader
- java.lang.Object
-
- java.lang.Enum<HtmxRequestHeader>
-
- io.github.wimdeblauwe.hsbt.mvc.HtmxRequestHeader
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HtmxRequestHeader>
public enum HtmxRequestHeader extends java.lang.Enum<HtmxRequestHeader>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HX_BOOSTEDHX_CURRENT_URLHX_HISTORY_RESTORE_REQUESTHX_PROMPTHX_REQUESTHX_TARGETHX_TRIGGERHX_TRIGGER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static HtmxRequestHeadervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HtmxRequestHeader[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HX_BOOSTED
public static final HtmxRequestHeader HX_BOOSTED
-
HX_CURRENT_URL
public static final HtmxRequestHeader HX_CURRENT_URL
-
HX_HISTORY_RESTORE_REQUEST
public static final HtmxRequestHeader HX_HISTORY_RESTORE_REQUEST
-
HX_PROMPT
public static final HtmxRequestHeader HX_PROMPT
-
HX_REQUEST
public static final HtmxRequestHeader HX_REQUEST
-
HX_TARGET
public static final HtmxRequestHeader HX_TARGET
-
HX_TRIGGER_NAME
public static final HtmxRequestHeader HX_TRIGGER_NAME
-
HX_TRIGGER
public static final HtmxRequestHeader HX_TRIGGER
-
-
Method Detail
-
values
public static HtmxRequestHeader[] 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 (HtmxRequestHeader c : HtmxRequestHeader.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmxRequestHeader valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
-