org.apache.camel.component.http
Class RequestEntityConverter
java.lang.Object
org.apache.camel.component.http.RequestEntityConverter
@Converter
public class RequestEntityConverter
- extends Object
Some converter methods to make it easier to convert the body to RequestEntity types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestEntityConverter
public RequestEntityConverter()
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(ByteBuffer buffer,
Exchange exchange)
throws Exception
- Throws:
Exception
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(byte[] data,
Exchange exchange)
throws Exception
- Throws:
Exception
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(InputStream inStream,
Exchange exchange)
throws Exception
- Throws:
Exception
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(String str,
Exchange exchange)
throws Exception
- Throws:
Exception
Apache CAMEL