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