程序包 | 说明 |
---|---|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 方法和说明 |
---|---|
Http2Error |
Http2FrameStreamException.error() |
Http2Error |
Http2Exception.error() |
static Http2Error |
Http2Error.valueOf(long value) |
static Http2Error |
Http2Error.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Http2Error[] |
Http2Error.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
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.
|
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) |
Http2FrameStreamException(Http2FrameStream stream,
Http2Error error,
java.lang.Throwable cause) |