|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.data.Message
org.restlet.data.Request
com.noelios.restlet.http.HttpRequest
public class HttpRequest
Request wrapper for server HTTP calls.
Constructor Summary | |
---|---|
HttpRequest(Context context,
HttpServerCall httpCall)
Constructor. |
Method Summary | |
---|---|
ChallengeResponse |
getChallengeResponse()
|
ClientInfo |
getClientInfo()
Returns the client-specific information. |
Conditions |
getConditions()
Returns the condition data applying to this call. |
Series<Cookie> |
getCookies()
Returns the cookies provided by the client. |
Representation |
getEntity()
Returns the representation provided by the client. |
HttpCall |
getHttpCall()
Returns the low-level HTTP call. |
Reference |
getReferrerRef()
Returns the referrer reference if available. |
void |
setChallengeResponse(ChallengeResponse response)
|
void |
setEntity(Representation entity)
|
Methods inherited from class org.restlet.data.Request |
---|
getHostRef, getMethod, getProtocol, getResourceRef, getRootRef, isConfidential, isEntityAvailable, setConfidential, setHostRef, setHostRef, setMethod, setReferrerRef, setReferrerRef, setResourceRef, setResourceRef, setRootRef |
Methods inherited from class org.restlet.data.Message |
---|
getAttributes, getEntityAsDom, getEntityAsForm, getEntityAsObject, getEntityAsSax, setEntity, setEntity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpRequest(Context context, HttpServerCall httpCall)
context
- The context of the HTTP server connector that issued the call.httpCall
- The low-level HTTP server call.Method Detail |
---|
public ClientInfo getClientInfo()
getClientInfo
in class Request
public Conditions getConditions()
getConditions
in class Request
public HttpCall getHttpCall()
public Series<Cookie> getCookies()
getCookies
in class Request
public Representation getEntity()
getEntity
in class Message
public Reference getReferrerRef()
getReferrerRef
in class Request
public ChallengeResponse getChallengeResponse()
getChallengeResponse
in class Request
public void setChallengeResponse(ChallengeResponse response)
setChallengeResponse
in class Request
public void setEntity(Representation entity)
setEntity
in class Message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |