Enum BlockingDefault
- java.lang.Object
-
- java.lang.Enum<BlockingDefault>
-
- org.jboss.resteasy.reactive.common.processor.BlockingDefault
-
- All Implemented Interfaces:
Serializable,Comparable<BlockingDefault>
public enum BlockingDefault extends Enum<BlockingDefault>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATICThe nature of the method is determined by the return typeBLOCKINGNON_BLOCKINGRUN_ON_VIRTUAL_THREAD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockingDefaultvalueOf(String name)Returns the enum constant of this type with the specified name.static BlockingDefault[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final BlockingDefault AUTOMATIC
The nature of the method is determined by the return type
-
BLOCKING
public static final BlockingDefault BLOCKING
-
NON_BLOCKING
public static final BlockingDefault NON_BLOCKING
-
RUN_ON_VIRTUAL_THREAD
public static final BlockingDefault RUN_ON_VIRTUAL_THREAD
-
-
Method Detail
-
values
public static BlockingDefault[] 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 (BlockingDefault c : BlockingDefault.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockingDefault 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 nameNullPointerException- if the argument is null
-
-