public class ErrorFrameFlyweight extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION_ERROR |
static int |
CANCELED |
static int |
CONNECTION_CLOSE |
static int |
CONNECTION_ERROR |
static int |
INVALID |
static int |
INVALID_SETUP |
static int |
REJECTED |
static int |
REJECTED_RESUME |
static int |
REJECTED_SETUP |
static int |
UNSUPPORTED_SETUP |
| Constructor and Description |
|---|
ErrorFrameFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
static ByteBuf |
data(ByteBuf byteBuf) |
static String |
dataUtf8(ByteBuf byteBuf) |
static ByteBuf |
encode(ByteBufAllocator allocator,
int streamId,
Throwable t) |
static ByteBuf |
encode(ByteBufAllocator allocator,
int streamId,
Throwable t,
ByteBuf data) |
static int |
errorCode(ByteBuf byteBuf) |
static int |
errorCodeFromException(Throwable t) |
public static final int INVALID_SETUP
public static final int UNSUPPORTED_SETUP
public static final int REJECTED_SETUP
public static final int REJECTED_RESUME
public static final int CONNECTION_ERROR
public static final int CONNECTION_CLOSE
public static final int APPLICATION_ERROR
public static final int REJECTED
public static final int CANCELED
public static final int INVALID
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, Throwable t, ByteBuf data)
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, Throwable t)
public static int errorCodeFromException(Throwable t)
public static int errorCode(ByteBuf byteBuf)