public enum H2Param extends Enum<H2Param>
Enum Constant and Description |
---|
ENABLE_PUSH |
HEADER_TABLE_SIZE |
INITIAL_WINDOW_SIZE |
MAX_CONCURRENT_STREAMS |
MAX_FRAME_SIZE |
MAX_HEADER_LIST_SIZE |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static String |
toString(int code) |
static H2Param |
valueOf(int code) |
static H2Param |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static H2Param[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final H2Param HEADER_TABLE_SIZE
public static final H2Param ENABLE_PUSH
public static final H2Param MAX_CONCURRENT_STREAMS
public static final H2Param INITIAL_WINDOW_SIZE
public static final H2Param MAX_FRAME_SIZE
public static final H2Param MAX_HEADER_LIST_SIZE
public static H2Param[] values()
for (H2Param c : H2Param.values()) System.out.println(c);
public static H2Param valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static H2Param valueOf(int code)
public static String toString(int code)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.