|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Request | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.service | Service classes used by applications and components. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of Request in org.restlet |
---|
Methods in org.restlet that return Request | |
---|---|
Request |
Handler.getRequest()
Returns the request. |
Methods in org.restlet with parameters of type Request | |
---|---|
void |
Guard.accept(Request request,
Response response)
Accepts the call. |
protected void |
Filter.afterHandle(Request request,
Response response)
Allows filtering after processing by the next Restlet. |
protected void |
Transformer.afterHandle(Request request,
Response response)
|
int |
Guard.authenticate(Request request)
Indicates if the call is properly authenticated. |
boolean |
Guard.authorize(Request request)
Indicates if the request is authorized to pass through the Guard. |
protected int |
Route.beforeHandle(Request request,
Response response)
Allows filtering before its handling by the target Restlet. |
protected int |
Filter.beforeHandle(Request request,
Response response)
Allows filtering before processing by the next Restlet. |
protected int |
Transformer.beforeHandle(Request request,
Response response)
|
boolean |
Guard.checkSecret(Request request,
java.lang.String identifier,
char[] secret)
Indicates if the secret is valid for the given identifier. |
Handler |
Finder.createResource(Request request,
Response response)
Deprecated. Use the Finder.createTarget(Request, Response) instead. |
Handler |
Finder.createTarget(java.lang.Class<? extends Handler> targetClass,
Request request,
Response response)
Creates a new instance of a given handler class. |
protected Handler |
Finder.createTarget(Request request,
Response response)
Creates a new instance of the handler class designated by the "targetClass" property. |
protected int |
Filter.doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet. |
int |
Guard.doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet. |
protected Handler |
Finder.findTarget(Request request,
Response response)
Finds the target Handler if available. |
Handler |
Directory.findTarget(Request request,
Response response)
Finds the target handler if available. |
protected Route |
Router.getCustom(Request request,
Response response)
Returns the matched route according to a custom algorithm. |
Restlet |
Router.getNext(Request request,
Response response)
Returns the next Restlet if available. |
protected Reference |
Redirector.getTargetRef(Request request,
Response response)
Returns the target reference to redirect to. |
Response |
Uniform.handle(Request request)
Handles a call. |
abstract void |
Uniform.handle(Request request,
Response response)
Handles a call. |
void |
Application.handle(Request request,
Response response)
|
void |
Restlet.handle(Request request,
Response response)
Handles a call. |
void |
Client.handle(Request request,
Response response)
|
void |
Component.handle(Request request,
Response response)
|
void |
Router.handle(Request request,
Response response)
Handles a call by invoking the next Restlet if it is available. |
void |
Server.handle(Request request,
Response response)
|
void |
Filter.handle(Request request,
Response response)
Handles a call by first invoking the beforeHandle() method for pre-filtering, then distributing the call to the next Restlet via the doHandle() method. |
void |
Finder.handle(Request request,
Response response)
Handles a call. |
void |
Redirector.handle(Request request,
Response response)
Handles a call by redirecting using the selected redirection mode. |
void |
Handler.init(Context context,
Request request,
Response response)
Initialize the resource with its context. |
protected void |
Restlet.init(Request request,
Response response)
Deprecated. Instead, make sure that you call the Restlet.handle(Request, Response) method from your Restlet
superclass. |
protected void |
Redirector.redirectDispatcher(Reference targetRef,
Request request,
Response response)
Redirects a given call to a target reference. |
float |
Route.score(Request request,
Response response)
Returns the score for a given call (between 0 and 1.0). |
void |
Handler.setRequest(Request request)
Sets the request to handle. |
Constructors in org.restlet with parameters of type Request | |
---|---|
Handler(Context context,
Request request,
Response response)
Normal constructor. |
Uses of Request in org.restlet.data |
---|
Methods in org.restlet.data that return Request | |
---|---|
static Request |
Request.getCurrent()
Returns the request associated to the current thread. |
Request |
Response.getRequest()
Returns the associated request |
Methods in org.restlet.data with parameters of type Request | |
---|---|
void |
Response.setRequest(Request request)
Sets the associated request. |
Constructors in org.restlet.data with parameters of type Request | |
---|---|
Response(Request request)
Constructor. |
Uses of Request in org.restlet.resource |
---|
Methods in org.restlet.resource with parameters of type Request | |
---|---|
void |
Resource.init(Context context,
Request request,
Response response)
Initialize the resource with its context. |
Constructors in org.restlet.resource with parameters of type Request | |
---|---|
Resource(Context context,
Request request,
Response response)
Normal constructor. |
Uses of Request in org.restlet.service |
---|
Methods in org.restlet.service with parameters of type Request | |
---|---|
Representation |
StatusService.getRepresentation(Status status,
Request request,
Response response)
Returns a representation for the given status. In order to customize the default representation, this method can be overriden. |
Status |
StatusService.getStatus(java.lang.Throwable throwable,
Request request,
Response response)
Returns a status for a given exception or error. |
Uses of Request in org.restlet.util |
---|
Subclasses of Request in org.restlet.util | |
---|---|
class |
WrapperRequest
Request wrapper. |
Methods in org.restlet.util that return Request | |
---|---|
Request |
WrapperResponse.getRequest()
Returns the associated request |
protected Request |
WrapperRequest.getWrappedRequest()
Returns the wrapped request. |
Methods in org.restlet.util with parameters of type Request | |
---|---|
abstract int |
Engine.authenticate(Request request,
Guard guard)
Indicates if the call is properly authenticated. |
abstract Resource |
Engine.createDirectoryResource(Directory handler,
Request request,
Response response)
Creates a directory resource. |
static Resolver<java.lang.String> |
Resolver.createResolver(Request request,
Response response)
Creates a resolver that is based on a call (request, response couple). |
java.lang.String |
Template.format(Request request,
Response response)
Creates a formatted string based on the given request and response. |
Route |
RouteList.getBest(Request request,
Response response,
float requiredScore)
Returns the best route match for a given call. |
Route |
RouteList.getFirst(Request request,
Response response,
float requiredScore)
Returns the first route match for a given call. |
Route |
RouteList.getLast(Request request,
Response response,
float requiredScore)
Returns the last route match for a given call. |
Route |
RouteList.getNext(Request request,
Response response,
float requiredScore)
Returns a next route match in a round robin mode for a given call. |
Route |
RouteList.getRandom(Request request,
Response response,
float requiredScore)
Returns a random route match for a given call. |
void |
Helper.handle(Request request,
Response response)
Handles a call. |
void |
WrapperRestlet.handle(Request request,
Response response)
|
int |
Template.parse(java.lang.String formattedString,
Request request)
Attempts to parse a formatted reference. |
void |
WrapperResponse.setRequest(Request request)
Sets the associated request. |
Constructors in org.restlet.util with parameters of type Request | |
---|---|
WrapperRequest(Request wrappedRequest)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |