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, isContinue
public ClientResponse(InputStream is) throws IOException
ClientResponseImpl
by parsing an input stream.IOException
public InputStream getInputStream()
public int readFully() throws IOException
IOException
Copyright © 2013. All Rights Reserved.