things.data.processing.http
Class HttpResponse

java.lang.Object
  extended by things.data.processing.http.HttpHeaders
      extended by things.data.processing.http.HttpResponse

public class HttpResponse
extends HttpHeaders

An HTTP response.

Version:
1.0

Version History

EPG - Initial - 12 FEB 07
 
Author:
Erich P. Gatejen

Field Summary
 boolean alwaysDrain
          Always drain flag.
 java.io.InputStream bodyStream
          The busy stream.
 int code
          The busy stream.
 java.lang.String reasonPhrase
          The reason phrase.
 
Fields inherited from class things.data.processing.http.HttpHeaders
bodyValues, CODE_CONTINUE, CODE_OK, codeText, contentLength, contentType, headerItems, httpVersion, path, server, transferEncoding, urlValues
 
Constructor Summary
HttpResponse()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bodyStream

public java.io.InputStream bodyStream
The busy stream. It may be a processed stream to deal with things like chunking.


code

public int code
The busy stream. It may be a processed stream to deal with things like chunking.


reasonPhrase

public java.lang.String reasonPhrase
The reason phrase.


alwaysDrain

public boolean alwaysDrain
Always drain flag. Regardless of the content length, always drain the body.

Constructor Detail

HttpResponse

public HttpResponse()


Things.