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, setInputStreamprotected String _httpType
protected int _httpCode
protected String _httpMsg
public HTTPResponseParser(InputStream is) throws IOException
IOExceptionpublic String getMessage()
public int getStatusCode()
public boolean isOK()
public void parseHead(String line) throws IOException
parseHead in class HTTPParserIOExceptionCopyright © 2013. All Rights Reserved.