Uses of Class
org.restlet.client.Request
-
Packages that use Request Package Description org.restlet.client Core classes of the API.org.restlet.client.resource Client and server resource classes.org.restlet.client.util Various utility classes. -
-
Uses of Request in org.restlet.client
Methods in org.restlet.client that return Request Modifier and Type Method Description Request
Response. getRequest()
Returns the associated requestMethods in org.restlet.client with parameters of type Request Modifier and Type Method Description void
Client. handle(Request request, Response response)
void
Restlet. handle(Request request, Response response)
Handles a call.void
Restlet. handle(Request request, Response response, Uniform onResponseCallback)
Handles a call.void
Restlet. handle(Request request, Uniform onReceivedCallback)
Handles a call.void
Uniform. handle(Request request, Response response)
Handles a uniform call.void
Response. setRequest(Request request)
Sets the associated request.Constructors in org.restlet.client with parameters of type Request Constructor Description Request(Request request)
Copy constructor.Response(Request request)
Constructor. -
Uses of Request in org.restlet.client.resource
Methods in org.restlet.client.resource that return Request Modifier and Type Method Description Request
ClientResource. createRequest()
Creates a new request by cloning the one wrapped by this class.Request
Resource. getRequest()
Returns the handled request.Request
ResourceException. getRequest()
Returns the request associated to this exception.Methods in org.restlet.client.resource with parameters of type Request Modifier and Type Method Description protected Response
ClientResource. createResponse(Request request)
Creates a new response for the given request.void
ClientResource. doError(Status errorStatus, Request request, Response response)
By default, it throws a new resource exception.void
ClientResource. doError(Request request, Response response)
By default, it throws a new resource exception.protected void
ClientResource. handle(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)
Handle the call and follow redirection for safe methods.Response
ClientResource. handleOutbound(Request request)
Handles the outbound call by invoking the next handler.void
Resource. init(Context context, Request request, Response response)
Initialization method setting the environment of the current resource instance.protected void
ClientResource. redirect(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)
Effectively redirects a client call.protected void
ClientResource. retry(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)
Effectively retries a failed client call.void
Resource. setRequest(Request request)
Sets the handled request.Constructors in org.restlet.client.resource with parameters of type Request Constructor Description ClientResource(Context context, Request request)
Constructor.ClientResource(Context context, Request request, Response response)
Constructor.ClientResource(Request request)
Constructor.ClientResource(Request request, Response response)
Constructor.ResourceException(Status status, java.lang.Throwable cause, Request request, Response response)
Constructor.ResourceException(Status status, Request request, Response response)
Constructor. -
Uses of Request in org.restlet.client.util
Subclasses of Request in org.restlet.client.util Modifier and Type Class Description class
WrapperRequest
Request wrapper.Methods in org.restlet.client.util that return Request Modifier and Type Method Description Request
WrapperResponse. getRequest()
Returns the associated requestprotected Request
WrapperRequest. getWrappedRequest()
Returns the wrapped request.Methods in org.restlet.client.util with parameters of type Request Modifier and Type Method Description void
WrapperRestlet. handle(Request request, Response response)
void
WrapperResponse. setRequest(Request request)
Sets the associated request.Constructors in org.restlet.client.util with parameters of type Request Constructor Description WrapperRequest(Request wrappedRequest)
Constructor.
-