Package io.netty.handler.codec.http2
Enum Http2RequestTargetConversionBenchmark.RequestTargetType
- java.lang.Object
-
- java.lang.Enum<Http2RequestTargetConversionBenchmark.RequestTargetType>
-
- io.netty.handler.codec.http2.Http2RequestTargetConversionBenchmark.RequestTargetType
-
- All Implemented Interfaces:
Serializable,Comparable<Http2RequestTargetConversionBenchmark.RequestTargetType>
- Enclosing class:
- Http2RequestTargetConversionBenchmark
public static enum Http2RequestTargetConversionBenchmark.RequestTargetType extends Enum<Http2RequestTargetConversionBenchmark.RequestTargetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTEABSOLUTE_NO_AUTHORITYABSOLUTE_NO_PATHORIGINSCHEME_ONLY_ABSOLUTE_PATH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Http2RequestTargetConversionBenchmark.RequestTargetTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Http2RequestTargetConversionBenchmark.RequestTargetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGIN
public static final Http2RequestTargetConversionBenchmark.RequestTargetType ORIGIN
-
ABSOLUTE
public static final Http2RequestTargetConversionBenchmark.RequestTargetType ABSOLUTE
-
ABSOLUTE_NO_PATH
public static final Http2RequestTargetConversionBenchmark.RequestTargetType ABSOLUTE_NO_PATH
-
ABSOLUTE_NO_AUTHORITY
public static final Http2RequestTargetConversionBenchmark.RequestTargetType ABSOLUTE_NO_AUTHORITY
-
SCHEME_ONLY_ABSOLUTE_PATH
public static final Http2RequestTargetConversionBenchmark.RequestTargetType SCHEME_ONLY_ABSOLUTE_PATH
-
-
Method Detail
-
values
public static Http2RequestTargetConversionBenchmark.RequestTargetType[] 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 (Http2RequestTargetConversionBenchmark.RequestTargetType c : Http2RequestTargetConversionBenchmark.RequestTargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Http2RequestTargetConversionBenchmark.RequestTargetType 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
-
-