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