|
||||||||||
| 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. |
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 Requestpublic ClientInfo getClientInfo()
getClientInfo in class Requestpublic Conditions getConditions()
getConditions in class Requestpublic Series<Cookie> getCookies()
getCookies in class Requestpublic Representation getEntity()
getEntity in class Messagepublic HttpCall getHttpCall()
public List<Range> getRanges()
getRanges in class Requestpublic Reference getReferrerRef()
getReferrerRef in class Requestpublic void setChallengeResponse(ChallengeResponse response)
setChallengeResponse in class Requestpublic void setEntity(Representation entity)
setEntity in class Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||