public class HTTPResponseParser extends HTTPParser
Modifier and Type | Field and Description |
---|---|
protected int |
_httpCode |
protected String |
_httpMsg |
protected String |
_httpType |
_chunked, _connection, _contentLength, _contentType, _host, _reader, _server
Constructor and Description |
---|
HTTPResponseParser(InputStream is) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
int |
getStatusCode() |
boolean |
isOK() |
void |
parseHead(String line) |
getContentLength, getContentType, getReader, getRest, isChunked, parse, setInputStream
protected String _httpType
protected int _httpCode
protected String _httpMsg
public HTTPResponseParser(InputStream is) throws IOException
IOException
public String getMessage()
public int getStatusCode()
public boolean isOK()
public void parseHead(String line) throws IOException
parseHead
in class HTTPParser
IOException
Copyright © 2016. All rights reserved.