org.apache.camel.component.netty
Class NettyConverter
java.lang.Object
org.apache.camel.component.netty.NettyConverter
@Converter
public final class NettyConverter
- extends Object
A set of converter methods for working with Netty types
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toByteArray
@Converter
public static byte[] toByteArray(org.jboss.netty.buffer.ChannelBuffer buffer)
toString
@Converter
public static String toString(org.jboss.netty.buffer.ChannelBuffer buffer,
org.apache.camel.Exchange exchange)
toInputStream
@Converter
public static InputStream toInputStream(org.jboss.netty.buffer.ChannelBuffer buffer)
toObjectInput
@Converter
public static ObjectInput toObjectInput(org.jboss.netty.buffer.ChannelBuffer buffer)
throws IOException
- Throws:
IOException
toByteBuffer
@Converter
public static org.jboss.netty.buffer.ChannelBuffer toByteBuffer(byte[] bytes)
Apache CAMEL