org.globus.util.http
Class HTTPResponseParser

java.lang.Object
  extended by org.globus.util.http.HTTPParser
      extended by org.globus.util.http.HTTPResponseParser

public class HTTPResponseParser
extends HTTPParser


Field Summary
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
HTTPResponseParser(java.io.InputStream is)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_httpType

protected java.lang.String _httpType

_httpCode

protected int _httpCode

_httpMsg

protected java.lang.String _httpMsg
Constructor Detail

HTTPResponseParser

public HTTPResponseParser(java.io.InputStream is)
                   throws java.io.IOException
Throws:
java.io.IOException
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 class HTTPParser
Throws:
java.io.IOException