Package org.globus.util.http
Class HTTPResponseParser
- java.lang.Object
-
- org.globus.util.http.HTTPParser
-
- org.globus.util.http.HTTPResponseParser
-
public class HTTPResponseParser extends HTTPParser
-
-
Field Summary
Fields Modifier and Type Field Description protected int_httpCodeprotected String_httpMsgprotected String_httpType-
Fields inherited from class org.globus.util.http.HTTPParser
_chunked, _connection, _contentLength, _contentType, _host, _reader, _server
-
-
Constructor Summary
Constructors Constructor Description HTTPResponseParser(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()intgetStatusCode()booleanisOK()voidparseHead(String line)-
Methods inherited from class org.globus.util.http.HTTPParser
getContentLength, getContentType, getReader, getRest, isChunked, parse, setInputStream
-
-
-
-
Constructor Detail
-
HTTPResponseParser
public HTTPResponseParser(InputStream is) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getMessage
public String getMessage()
-
getStatusCode
public int getStatusCode()
-
isOK
public boolean isOK()
-
parseHead
public void parseHead(String line) throws IOException
- Specified by:
parseHeadin classHTTPParser- Throws:
IOException
-
-