java.lang.Objectorg.restlet.data.Message
org.restlet.data.Request
public class Request
Generic request sent by client connectors. It is then received by server connectors and processed by Restlets. This request can also be processed by a chain of Restlets, on both client and server sides. Requests are uniform across all types of connectors, protocols and components.
Request()Request(Method method, Reference resourceRef, Representation entity)Request(Method method, String resourceUri, Representation entity) ChallengeResponse getChallengeResponse() ClientInfo getClientInfo() Conditions getConditions() Series<Cookie> getCookies() Reference getHostRef() Protocol getProtocol() Reference getReferrerRef() Reference getResourceRef() Reference getRootRef() boolean isConfidential() boolean isEntityAvailable() void setChallengeResponse(ChallengeResponse response) void setConfidential(boolean confidential) void setHostRef(Reference hostRef) void setHostRef(String hostUri) void setReferrerRef(Reference referrerRef) void setReferrerRef(String referrerUri) void setResourceRef(Reference resourceRef) void setResourceRef(String resourceUri) void setRootRef(Reference rootRef)public Request()
public Request(Method method, Reference resourceRef)
method - The call's method.resourceRef - The resource reference.public Request(Method method, Reference resourceRef, Representation entity)
method - The call's method.resourceRef - The resource reference.entity - The entity.public Request(Method method, String resourceUri)
method - The call's method.resourceUri - The resource URI.public Request(Method method, String resourceUri, Representation entity)
method - The call's method.resourceUri - The resource URI.entity - The entity.public ChallengeResponse getChallengeResponse()
public ClientInfo getClientInfo()
public Conditions getConditions()
public Series<Cookie> getCookies()
public Reference getHostRef()
public Method getMethod()
public Protocol getProtocol()
public Reference getReferrerRef()
public Reference getResourceRef()
public Reference getRootRef()
public boolean isConfidential()
public boolean isEntityAvailable()
isEntityAvailable in class Messagepublic void setChallengeResponse(ChallengeResponse response)
response - The authentication response sent by a client to an origin server.public void setConfidential(boolean confidential)
confidential - True if the call came over a confidential channel.public void setHostRef(Reference hostRef)
hostRef - The host reference.public void setHostRef(String hostUri)
hostUri - The host URI.public void setMethod(Method method)
method - The method called.public void setReferrerRef(Reference referrerRef)
referrerRef - The referrer reference.public void setReferrerRef(String referrerUri)
referrerUri - The referrer URI.public void setResourceRef(Reference resourceRef)
resourceRef - The resource reference.public void setResourceRef(String resourceUri)
resourceUri - The resource URI.public void setRootRef(Reference rootRef)
rootRef - The application root reference.You are viewing a mobilized version of this site...
View original page here