public class ServerRequest extends Request
Request body.| Constructor and Description |
|---|
ServerRequest(InputStream is)
Constructs a
ServerRequest by parsing an input stream. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
int |
readFully()
Reads a response's input stream until EOF.
|
String |
toString()
Returns a debug string.
|
getHeaders, getRequestLinepublic ServerRequest(InputStream is) throws IOException
ServerRequest by parsing an input stream.IOExceptionpublic InputStream getInputStream()
public int readFully()
throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.