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