net.noderunner.http
Class Response

java.lang.Object
  extended by net.noderunner.http.Response
Direct Known Subclasses:
ClientResponse, ServerResponse

public class Response
extends java.lang.Object

Contains the contents of an HTTP response message. In RFC 2616 terms, this object represents data found in the Response body.


Constructor Summary
Response(StatusLine statusLine, MessageHeaders headers)
          Constructs a Response object by parts.
 
Method Summary
 MessageHeaders getHeaders()
           
 StatusLine getStatusLine()
           
 boolean isContinue()
          Returns true if the response should be continued.
 java.lang.String toString()
          Returns a debug string showing the response information contained within.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Response

public Response(StatusLine statusLine,
                MessageHeaders headers)
Constructs a Response object by parts.

Method Detail

getStatusLine

public StatusLine getStatusLine()

getHeaders

public MessageHeaders getHeaders()

isContinue

public boolean isContinue()
Returns true if the response should be continued.


toString

public java.lang.String toString()
Returns a debug string showing the response information contained within.

Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.