public interface ServerResponse
Modifier and Type | Method and Description |
---|---|
byte[] |
getResponseBody()
Return the response as raw bytes.
|
java.lang.String |
getResultContentType()
return content type
|
java.io.InputStream |
getResultStream()
returns raw results as a Stream
|
java.io.InputStream getResultStream()
java.lang.String getResultContentType()
byte[] getResponseBody() throws java.io.IOException
java.io.IOException
- if io error during result read