public enum QuicStreamType extends Enum<QuicStreamType>
QuicStreamChannel.| Enum Constant and Description |
|---|
BIDIRECTIONAL
A bidirectional stream.
|
UNIDIRECTIONAL
An unidirectional stream.
|
| Modifier and Type | Method and Description |
|---|---|
static QuicStreamType |
valueOf(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(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 nullCopyright © 2020–2021 The Netty Project. All rights reserved.