Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
Http2Error |
Http2Exception.error() |
static Http2Error |
Http2Error.valueOf(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.connectionError(Http2Error error,
String fmt,
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,
Throwable cause,
String fmt,
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.streamError(int id,
Http2Error error,
String fmt,
Object... args)
Use if an error which can be isolated to a single stream has occurred.
|
static Http2Exception |
Http2Exception.streamError(int id,
Http2Error error,
Throwable cause,
String fmt,
Object... args)
Use if an error which can be isolated to a single stream has occurred.
|
Constructor and Description |
---|
Http2Exception.CompositeStreamException(Http2Error error,
int initialCapacity) |
Http2Exception(Http2Error error) |
Http2Exception(Http2Error error,
String message) |
Http2Exception(Http2Error error,
String message,
Throwable cause) |
Copyright © 2008–2015 The Netty Project. All rights reserved.