com.noelios.restlet.http
Class HttpResponse

java.lang.Object
  extended by org.restlet.data.Message
      extended by org.restlet.data.Response
          extended by com.noelios.restlet.http.HttpResponse

public class HttpResponse
extends Response

Response wrapper for server HTTP calls.

Author:
Jerome Louvel

Constructor Summary
HttpResponse(HttpServerCall httpCall, Request request)
          Constructor.
 
Method Summary
 HttpServerCall getHttpCall()
          Returns the low-level HTTP call.
 ServerInfo getServerInfo()
          Returns the server-specific information.
 
Methods inherited from class org.restlet.data.Response
getAllowedMethods, getChallengeRequest, getChallengeRequests, getCookieSettings, getCurrent, getDimensions, getLocationRef, getRedirectRef, getRequest, getStatus, isConfidential, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setChallengeRequest, setChallengeRequests, setCookieSettings, setCurrent, setDimensions, setLocationRef, setLocationRef, setRedirectRef, setRedirectRef, setRequest, setServerInfo, setStatus, setStatus, setStatus, setStatus
 
Methods inherited from class org.restlet.data.Message
getAttributes, getEntity, getEntityAsDom, getEntityAsForm, getEntityAsObject, getEntityAsSax, isEntityAvailable, release, setAttributes, setEntity, setEntity, setEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponse

public HttpResponse(HttpServerCall httpCall,
                    Request request)
Constructor.

Parameters:
httpCall - The low-level HTTP server call.
request - The associated high-level request.
Method Detail

getHttpCall

public HttpServerCall getHttpCall()
Returns the low-level HTTP call.

Returns:
The low-level HTTP call.

getServerInfo

public ServerInfo getServerInfo()
Returns the server-specific information.

Overrides:
getServerInfo in class Response
Returns:
The server-specific information.


Copyright © 2005-2008 Noelios Technologies.