public final class RestletHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
readResponseBodyFromInputStream(InputStream is,
Exchange exchange)
Reads the response body from the given input stream.
|
public static Object readResponseBodyFromInputStream(InputStream is, Exchange exchange) throws IOException
is
- the input streamexchange
- the exchangeIOException
- is thrown if error reading response bodyCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.