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
_httpCode
protected java.lang.String
_httpMsg
protected 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.String
getMessage()
int
getStatusCode()
boolean
isOK()
void
parseHead(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:
parseHead
in classHTTPParser
- Throws:
java.io.IOException
-
-