public static enum Http2Exception.ShutdownHint extends Enum<Http2Exception.ShutdownHint>
Enum Constant and Description |
---|
GRACEFUL_SHUTDOWN
Attempt to execute a "graceful" shutdown.
|
HARD_SHUTDOWN
Close the channel immediately after a
GOAWAY is sent. |
NO_SHUTDOWN
Do not shutdown the underlying channel.
|
Modifier and Type | Method and Description |
---|---|
static Http2Exception.ShutdownHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http2Exception.ShutdownHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http2Exception.ShutdownHint NO_SHUTDOWN
public static final Http2Exception.ShutdownHint GRACEFUL_SHUTDOWN
public static final Http2Exception.ShutdownHint HARD_SHUTDOWN
GOAWAY
is sent.public static Http2Exception.ShutdownHint[] values()
for (Http2Exception.ShutdownHint c : Http2Exception.ShutdownHint.values()) System.out.println(c);
public static Http2Exception.ShutdownHint 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 © 2008–2017 The Netty Project. All rights reserved.