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