org.apache.camel.component.netty
Class ChannelHandlerFactories
java.lang.Object
org.apache.camel.component.netty.ChannelHandlerFactories
public final class ChannelHandlerFactories
- extends Object
Helper to create commonly used ChannelHandlerFactory
instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newStringEncoder
public static ChannelHandlerFactory newStringEncoder(Charset charset)
newStringDecoder
public static ChannelHandlerFactory newStringDecoder(Charset charset)
newObjectDecoder
public static ChannelHandlerFactory newObjectDecoder()
newObjectEncoder
public static ChannelHandlerFactory newObjectEncoder()
newDelimiterBasedFrameDecoder
public static ChannelHandlerFactory newDelimiterBasedFrameDecoder(int maxFrameLength,
org.jboss.netty.buffer.ChannelBuffer[] delimiters)
newLengthFieldBasedFrameDecoder
public static ChannelHandlerFactory newLengthFieldBasedFrameDecoder(int maxFrameLength,
int lengthFieldOffset,
int lengthFieldLength,
int lengthAdjustment,
int initialBytesToStrip)
Apache Camel