public final class RestletHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
readResponseBodyFromInputStream(InputStream is,
org.apache.camel.Exchange exchange)
Reads the response body from the given input stream.
|
public static Object readResponseBodyFromInputStream(InputStream is, org.apache.camel.Exchange exchange) throws IOException
is - the input streamexchange - the exchangeIOException - is thrown if error reading response bodyApache Camel