GatekeeperReply
public class HttpResponse extends Object
Modifier and Type | Field | Description |
---|---|---|
protected long |
charsRead |
|
boolean |
chunked |
|
String |
connection |
|
long |
contentLength |
|
String |
contentType |
|
int |
httpCode |
|
String |
httpMsg |
|
String |
httpType |
|
protected InputStream |
input |
|
String |
location |
|
String |
server |
Constructor | Description |
---|---|
HttpResponse(InputStream in) |
Modifier and Type | Method | Description |
---|---|---|
static String |
getRest(String line) |
|
void |
parseHttp(String line) |
|
protected String |
readLine(InputStream in) |
Read a line of text from the given Stream and return it
as a String.
|
String |
toString() |
Generates a string representation of the http header
|
protected InputStream input
protected long charsRead
public String httpType
public String httpMsg
public int httpCode
public long contentLength
public String connection
public String contentType
public String server
public boolean chunked
public String location
public HttpResponse(InputStream in) throws IOException
IOException
protected String readLine(InputStream in) throws IOException
IOException
public void parseHttp(String line)
Copyright © 2018. All rights reserved.