public interface SimpleHttpResponse extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Ensures that the input stream is closed.
|
InputStream |
getContentStream()
An input stream for the response body.
|
Iterable<String> |
getHeader(String name)
Returns all header values for the given header name.
|
int |
getStatus()
The status code of the response.
|
boolean |
isEmpty()
True if the response has a zero-length body.
|
int getStatus()
InputStream getContentStream() throws MpacException
MpacExceptionIterable<String> getHeader(String name)
boolean isEmpty()
void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2016 Atlassian. All rights reserved.