Top Description Constructors Methods
io.rsocket.frame

public Class FragmentationCodec

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator, reactor.util.annotation.Nullable

FragmentationFlyweight is used to re-assemble frames

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ByteBuf
encode(final ByteBufAllocator allocator, ByteBuf header, ByteBuf data)

public static ByteBuf
encode(final ByteBufAllocator allocator, ByteBuf header, ByteBuf metadata, ByteBuf data)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FragmentationCodecback to summary
public FragmentationCodec()

Method Detail

encodeback to summary
public static ByteBuf encode(final ByteBufAllocator allocator, ByteBuf header, ByteBuf data)
encodeback to summary
public static ByteBuf encode(final ByteBufAllocator allocator, ByteBuf header, ByteBuf metadata, ByteBuf data)