|
||||||||||
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. |
java.util.List<Range> |
getRanges()
|
Reference |
getReferrerRef()
Returns the referrer reference if available. |
void |
setChallengeResponse(ChallengeResponse response)
|
void |
setEntity(Representation entity)
|
Methods inherited from class org.restlet.data.Request |
---|
getCurrent, getHostRef, getMethod, getOriginalRef, getProtocol, getResourceRef, getRootRef, isConfidential, isEntityAvailable, setClientInfo, setConditions, setCookies, setHostRef, setHostRef, setMethod, setOriginalRef, setRanges, setReferrerRef, setReferrerRef, setResourceRef, setResourceRef, setRootRef |
Methods inherited from class org.restlet.data.Message |
---|
getAttributes, getEntityAsDom, getEntityAsForm, getEntityAsObject, getEntityAsSax, release, setAttributes, 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 ChallengeResponse getChallengeResponse()
getChallengeResponse
in class Request
public ClientInfo getClientInfo()
getClientInfo
in class Request
public Conditions getConditions()
getConditions
in class Request
public Series<Cookie> getCookies()
getCookies
in class Request
public Representation getEntity()
getEntity
in class Message
public HttpCall getHttpCall()
public java.util.List<Range> getRanges()
getRanges
in class Request
public Reference getReferrerRef()
getReferrerRef
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 |