public enum FrameFlag extends Enum<FrameFlag>
Enum Constant and Description |
---|
ACK |
END_HEADERS |
END_STREAM |
PADDED |
PRIORITY |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static int |
of(FrameFlag... flags) |
static FrameFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameFlag END_STREAM
public static final FrameFlag ACK
public static final FrameFlag END_HEADERS
public static final FrameFlag PADDED
public static final FrameFlag PRIORITY
public static FrameFlag[] values()
for (FrameFlag c : FrameFlag.values()) System.out.println(c);
public static FrameFlag 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 getValue()
public static int of(FrameFlag... flags)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.