@Converter public final class NettyConverter extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toByteArray(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static io.netty.buffer.ByteBuf |
toByteBuffer(byte[] bytes) |
static io.netty.buffer.ByteBuf |
toByteBuffer(String s,
org.apache.camel.Exchange exchange) |
static Document |
toDocument(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static DOMSource |
toDOMSource(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static InputStream |
toInputStream(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static ObjectInput |
toObjectInput(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static SAXSource |
toSAXSource(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static StAXSource |
toStAXSource(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static StreamSource |
toStreamSource(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
static String |
toString(io.netty.buffer.ByteBuf buffer,
org.apache.camel.Exchange exchange) |
@Converter public static byte[] toByteArray(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static String toString(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange) throws UnsupportedEncodingException
UnsupportedEncodingException
@Converter public static InputStream toInputStream(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static ObjectInput toObjectInput(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange) throws IOException
IOException
@Converter public static io.netty.buffer.ByteBuf toByteBuffer(byte[] bytes)
@Converter public static io.netty.buffer.ByteBuf toByteBuffer(String s, org.apache.camel.Exchange exchange)
@Converter public static Document toDocument(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static DOMSource toDOMSource(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static SAXSource toSAXSource(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static StreamSource toStreamSource(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
@Converter public static StAXSource toStAXSource(io.netty.buffer.ByteBuf buffer, org.apache.camel.Exchange exchange)
Apache Camel