juglr.net
Class HTTPResponse

java.lang.Object
  extended by juglr.Message
      extended by juglr.net.HTTPResponse

public class HTTPResponse
extends Message

Send as a reply to a HTTPRequest. The recipient of the reply should be httpRequest.getReplyTo().

Since:
Feb 17, 2010
Author:
Mikkel Kamstrup Erlandsen

Constructor Summary
HTTPResponse(HTTP.Status status, Box body)
           
 
Method Summary
 Box getBody()
           
 HTTP.Status getStatus()
           
 
Methods inherited from class juglr.Message
getReplyTo, getSender, setReplyTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPResponse

public HTTPResponse(HTTP.Status status,
                    Box body)
Method Detail

getStatus

public HTTP.Status getStatus()

getBody

public Box getBody()