Top Fields Constructors Methods
io.rsocket.frame

public Class ErrorFrameCodec

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator, .ByteBufUtil, io.rsocket.RSocketErrorException, java.nio.charset.StandardCharsets

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ByteBuf
data(ByteBuf byteBuf)

public static String
dataUtf8(ByteBuf byteBuf)

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
errorCode(ByteBuf byteBuf)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

APPLICATION_ERRORback to summary
public static final int APPLICATION_ERROR
CANCELEDback to summary
public static final int CANCELED
CONNECTION_CLOSEback to summary
public static final int CONNECTION_CLOSE
CONNECTION_ERRORback to summary
public static final int CONNECTION_ERROR
INVALIDback to summary
public static final int INVALID
INVALID_SETUPback to summary
public static final int INVALID_SETUP
MAX_USER_ALLOWED_ERROR_CODEback to summary
public static final int MAX_USER_ALLOWED_ERROR_CODE
MIN_USER_ALLOWED_ERROR_CODEback to summary
public static final int MIN_USER_ALLOWED_ERROR_CODE
REJECTEDback to summary
public static final int REJECTED
REJECTED_RESUMEback to summary
public static final int REJECTED_RESUME
REJECTED_SETUPback to summary
public static final int REJECTED_SETUP
UNSUPPORTED_SETUPback to summary
public static final int UNSUPPORTED_SETUP

Constructor Detail

ErrorFrameCodecback to summary
public ErrorFrameCodec()

Method Detail

databack to summary
public static ByteBuf data(ByteBuf byteBuf)
dataUtf8back to summary
public static String dataUtf8(ByteBuf byteBuf)
encodeback to summary
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, Throwable t, ByteBuf data)
encodeback to summary
public static ByteBuf encode(ByteBufAllocator allocator, int streamId, Throwable t)
errorCodeback to summary
public static int errorCode(ByteBuf byteBuf)