@Converter public final class MinaConverter extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toByteArray(org.apache.mina.common.ByteBuffer buffer) |
static org.apache.mina.common.ByteBuffer |
toByteBuffer(byte[] bytes) |
static InputStream |
toInputStream(org.apache.mina.common.ByteBuffer buffer) |
static ObjectInput |
toObjectInput(org.apache.mina.common.ByteBuffer buffer) |
static String |
toString(org.apache.mina.common.ByteBuffer buffer,
org.apache.camel.Exchange exchange) |
@Converter public static byte[] toByteArray(org.apache.mina.common.ByteBuffer buffer)
@Converter public static String toString(org.apache.mina.common.ByteBuffer buffer, org.apache.camel.Exchange exchange)
@Converter public static InputStream toInputStream(org.apache.mina.common.ByteBuffer buffer)
@Converter public static ObjectInput toObjectInput(org.apache.mina.common.ByteBuffer buffer) throws IOException
IOException
@Converter public static org.apache.mina.common.ByteBuffer toByteBuffer(byte[] bytes)
Apache Camel