public class ClientResponse extends Response
Response body.| Constructor and Description |
|---|
ClientResponse(InputStream is)
Constructs a
ClientResponseImpl by parsing an input stream. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Returns a stream for reading data from the HTTP server.
|
int |
readFully()
Reads a response's input stream until EOF.
|
String |
toString()
Returns a debug string showing the response information contained
within.
|
getHeaders, getStatusLine, isContinuepublic ClientResponse(InputStream is) throws IOException
ClientResponseImpl by parsing an input stream.IOExceptionpublic InputStream getInputStream()
public int readFully()
throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.