public enum FrameType extends Enum<FrameType>
Enum Constant and Description |
---|
CONTINUATION |
DATA |
GOAWAY |
HEADERS |
PING |
PRIORITY |
PUSH_PROMISE |
RST |
SETTINGS |
UNKNOWN |
WINDOW_UPDATE |
Modifier and Type | Method and Description |
---|---|
void |
check(int streamId,
int payloadSize) |
byte |
getIdByte() |
static FrameType |
valueOf(int i) |
static FrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameType DATA
public static final FrameType HEADERS
public static final FrameType PRIORITY
public static final FrameType RST
public static final FrameType SETTINGS
public static final FrameType PUSH_PROMISE
public static final FrameType PING
public static final FrameType GOAWAY
public static final FrameType WINDOW_UPDATE
public static final FrameType CONTINUATION
public static final FrameType UNKNOWN
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType 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 byte getIdByte()
public void check(int streamId, int payloadSize) throws Http2Exception
Http2Exception
public static FrameType valueOf(int i)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.