public enum QuicStreamType extends java.lang.Enum<QuicStreamType>
QuicStreamChannel.| Enum Constant and Description |
|---|
BIDIRECTIONAL
A bidirectional stream.
|
UNIDIRECTIONAL
An unidirectional stream.
|
| Modifier and Type | Method and Description |
|---|---|
static QuicStreamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuicStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuicStreamType UNIDIRECTIONAL
public static final QuicStreamType BIDIRECTIONAL
public static QuicStreamType[] values()
for (QuicStreamType c : QuicStreamType.values()) System.out.println(c);
public static QuicStreamType 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 nullCopyright © 2020-2021 The Netty Project. All Rights Reserved.