public enum HpackHeadersSize extends Enum<HpackHeadersSize>
Modifier and Type | Method and Description |
---|---|
List<io.netty.handler.codec.http2.HpackHeader> |
newHeaders(boolean limitAscii) |
ByteBuf |
newOutBuffer() |
static HpackHeadersSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HpackHeadersSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HpackHeadersSize SMALL
public static final HpackHeadersSize MEDIUM
public static final HpackHeadersSize LARGE
public static HpackHeadersSize[] values()
for (HpackHeadersSize c : HpackHeadersSize.values()) System.out.println(c);
public static HpackHeadersSize 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 List<io.netty.handler.codec.http2.HpackHeader> newHeaders(boolean limitAscii)
public ByteBuf newOutBuffer()
Copyright © 2008–2017 The Netty Project. All rights reserved.