org.apache.camel.component.http
Class RequestEntityConverter
java.lang.Object
org.apache.camel.component.http.RequestEntityConverter
@Converter
public class RequestEntityConverter
- extends java.lang.Object
Some converter methods to make it easier to convert the body to RequestEntity types.
Method Summary |
org.apache.commons.httpclient.methods.RequestEntity |
toRequestEntity(byte[] data,
org.apache.camel.Exchange exchange)
|
org.apache.commons.httpclient.methods.RequestEntity |
toRequestEntity(java.io.InputStream inStream,
org.apache.camel.Exchange exchange)
|
org.apache.commons.httpclient.methods.RequestEntity |
toRequestEntity(java.lang.String str,
org.apache.camel.Exchange exchange)
|
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(byte[] data,
org.apache.camel.Exchange exchange)
throws java.lang.Exception
- Throws:
java.lang.Exception
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(java.io.InputStream inStream,
org.apache.camel.Exchange exchange)
throws java.lang.Exception
- Throws:
java.lang.Exception
toRequestEntity
@Converter
public org.apache.commons.httpclient.methods.RequestEntity toRequestEntity(java.lang.String str,
org.apache.camel.Exchange exchange)
throws java.lang.Exception
- Throws:
java.lang.Exception
Apache CAMEL