public class HTTPResponseParser extends HTTPParser
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
_httpCode |
|
protected String |
_httpMsg |
|
protected String |
_httpType |
_chunked, _connection, _contentLength, _contentType, _host, _reader, _server| Constructor | Description |
|---|---|
HTTPResponseParser(InputStream is) |
| Modifier and Type | Method | 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 © 2018. All rights reserved.