public enum FrameType extends java.lang.Enum<FrameType>
| Enum Constant | Description |
|---|---|
CONTINUATION |
|
DATA |
|
DISCONNECT |
|
GO_AWAY |
|
HEADERS |
|
PING |
|
PREFACE |
|
PRIORITY |
|
PUSH_PROMISE |
|
RST_STREAM |
|
SETTINGS |
|
WINDOW_UPDATE |
| Modifier and Type | Method | Description |
|---|---|---|
static FrameType |
from(int type) |
|
int |
getType() |
|
static FrameType |
valueOf(java.lang.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 GO_AWAY
public static final FrameType WINDOW_UPDATE
public static final FrameType CONTINUATION
public static final FrameType PREFACE
public static final FrameType DISCONNECT
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FrameType from(int type)
public int getType()
Copyright © 1995–2018 Webtide. All rights reserved.