public final class ChannelHandlerFactories extends Object
ChannelHandlerFactory
instances.Modifier and Type | Method and Description |
---|---|
static ChannelHandlerFactory |
newByteArrayDecoder(String protocol) |
static ChannelHandlerFactory |
newByteArrayEncoder(String protocol) |
static ChannelHandlerFactory |
newDatagramPacketDecoder() |
static ChannelHandlerFactory |
newDatagramPacketEncoder() |
static ChannelHandlerFactory |
newDelimiterBasedFrameDecoder(int maxFrameLength,
io.netty.buffer.ByteBuf[] delimiters,
boolean stripDelimiter,
String protocol) |
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 |
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 newDelimiterBasedFrameDecoder(int maxFrameLength, io.netty.buffer.ByteBuf[] delimiters, String protocol)
public static ChannelHandlerFactory newDelimiterBasedFrameDecoder(int maxFrameLength, io.netty.buffer.ByteBuf[] delimiters, boolean stripDelimiter, String protocol)
public static ChannelHandlerFactory newDatagramPacketDecoder()
public static ChannelHandlerFactory newDatagramPacketEncoder()
public static ChannelHandlerFactory newLengthFieldBasedFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip)
public static ChannelHandlerFactory newByteArrayDecoder(String protocol)
public static ChannelHandlerFactory newByteArrayEncoder(String protocol)
Apache Camel