public enum FrameType extends Enum<FrameType>
| Enum Constant and Description | 
|---|
| CONTINUATION | 
| DATA | 
| GOAWAY | 
| HEADERS | 
| PING | 
| PRIORITY | 
| PUSH_PROMISE | 
| RST_STREAM | 
| SETTINGS | 
| WINDOW_UPDATE | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getValue() | 
| static String | toString(int value) | 
| static FrameType | valueOf(int value) | 
| 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_STREAM
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 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 int getValue()
public static FrameType valueOf(int value)
public static String toString(int value)
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.