Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Field and Description |
---|---|
private Http2Error |
Http2Exception.error |
private static Http2Error[] |
Http2Error.INT_TO_ENUM_MAP |
Modifier and Type | Method and Description |
---|---|
Http2Error |
Http2Exception.error() |
static Http2Error |
Http2Error.valueOf(long value) |
static Http2Error |
Http2Error.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Http2Error[] |
Http2Error.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Http2Exception |
Http2Exception.closedStreamError(Http2Error error,
java.lang.String fmt,
java.lang.Object... args)
Use if an error has occurred which can not be isolated to a single stream, but instead applies
to the entire connection.
|
static Http2Exception |
Http2Exception.connectionError(Http2Error error,
java.lang.String fmt,
java.lang.Object... args)
Use if an error has occurred which can not be isolated to a single stream, but instead applies
to the entire connection.
|
static Http2Exception |
Http2Exception.connectionError(Http2Error error,
java.lang.Throwable cause,
java.lang.String fmt,
java.lang.Object... args)
Use if an error has occurred which can not be isolated to a single stream, but instead applies
to the entire connection.
|
static Http2Exception |
Http2Exception.headerListSizeError(int id,
Http2Error error,
boolean onDecode,
java.lang.String fmt,
java.lang.Object... args)
A specific stream error resulting from failing to decode headers that exceeds the max header size list.
|
static Http2Exception |
Http2Exception.streamError(int id,
Http2Error error,
java.lang.String fmt,
java.lang.Object... args)
Use if an error which can be isolated to a single stream has occurred.
|
static Http2Exception |
Http2Exception.streamError(int id,
Http2Error error,
java.lang.Throwable cause,
java.lang.String fmt,
java.lang.Object... args)
Use if an error which can be isolated to a single stream has occurred.
|
Constructor and Description |
---|
ClosedStreamCreationException(Http2Error error) |
ClosedStreamCreationException(Http2Error error,
java.lang.String message) |
ClosedStreamCreationException(Http2Error error,
java.lang.String message,
java.lang.Throwable cause) |
CompositeStreamException(Http2Error error,
int initialCapacity) |
DefaultHttp2GoAwayFrame(Http2Error error)
Equivalent to
new DefaultHttp2GoAwayFrame(error.code()) . |
DefaultHttp2GoAwayFrame(Http2Error error,
ByteBuf content) |
DefaultHttp2ResetFrame(Http2Error error)
Construct a reset message.
|
HeaderListSizeException(int streamId,
Http2Error error,
java.lang.String message,
boolean decode) |
Http2Exception(Http2Error error) |
Http2Exception(Http2Error error,
Http2Exception.ShutdownHint shutdownHint) |
Http2Exception(Http2Error error,
java.lang.String message) |
Http2Exception(Http2Error error,
java.lang.String message,
Http2Exception.ShutdownHint shutdownHint) |
Http2Exception(Http2Error error,
java.lang.String message,
java.lang.Throwable cause) |
Http2Exception(Http2Error error,
java.lang.String message,
java.lang.Throwable cause,
Http2Exception.ShutdownHint shutdownHint) |
StreamException(int streamId,
Http2Error error,
java.lang.String message) |
StreamException(int streamId,
Http2Error error,
java.lang.String message,
java.lang.Throwable cause) |