Class HTTPResponseReader

java.lang.Object
  |
  +--HTTPMessageReader
        |
        +--HTTPResponseReader

public class HTTPResponseReader
extends HTTPMessageReader

Stream reader for HTTP responses.


Field Summary
(package private)  java.lang.String statusCode
          Status line: The status code, eg. 200, 404, etc.
 
Fields inherited from class HTTPMessageReader
body, connection, contentLength, header, message, mustCloseConnection, offset, versionProtocol
 
Constructor Summary
HTTPResponseReader(java.io.InputStream istream)
          Retrieves a HTTP response message from the connection stream.
 
Methods inherited from class HTTPMessageReader
concatenateHeaderBody, eraseCommand, retrieveBody, retrieveHeader, toArray
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

statusCode

java.lang.String statusCode
Status line: The status code, eg. 200, 404, etc.
Constructor Detail

HTTPResponseReader

public HTTPResponseReader(java.io.InputStream istream)
                   throws java.io.IOException,
                          java.util.NoSuchElementException
Retrieves a HTTP response message from the connection stream.
Parameters:
istream - the stream