public final class ChannelHandlerFactories extends Object
ChannelHandlerFactory
instances.Modifier and Type | Method and Description |
---|---|
static ChannelHandlerFactory |
newDatagramPacketDecoder() |
static ChannelHandlerFactory |
newDatagramPacketEncoder() |
static ChannelHandlerFactory |
newDelimiterBasedFrameDecoder(int maxFrameLength,
io.netty.buffer.ByteBuf[] delimiters,
String protocol) |
static ChannelHandlerFactory |
newLengthFieldBasedFrameDecoder(int maxFrameLength,
int lengthFieldOffset,
int lengthFieldLength,
int lengthAdjustment,
int initialBytesToStrip) |
static ChannelHandlerFactory |
newObjectDecoder(String protocol) |
static ChannelHandlerFactory |
newObjectEncoder(String protocol) |
static ChannelHandlerFactory |
newStringDecoder(Charset charset,
String protocol) |
static ChannelHandlerFactory |
newStringEncoder(Charset charset,
String protocol) |
public static ChannelHandlerFactory newStringEncoder(Charset charset, String protocol)
public static ChannelHandlerFactory newStringDecoder(Charset charset, String protocol)
public static ChannelHandlerFactory newObjectDecoder(String protocol)
public static ChannelHandlerFactory newObjectEncoder(String protocol)
public static ChannelHandlerFactory newDelimiterBasedFrameDecoder(int maxFrameLength, io.netty.buffer.ByteBuf[] delimiters, String protocol)
public static ChannelHandlerFactory newDatagramPacketDecoder()
public static ChannelHandlerFactory newDatagramPacketEncoder()
public static ChannelHandlerFactory newLengthFieldBasedFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip)
Apache Camel