|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Resource | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of Resource in org.restlet |
---|
Methods in org.restlet that return Resource | |
---|---|
Resource |
Finder.createResource(Request request,
Response response)
Creates a new instance of the resource class designated by the "targetClass" property. |
Resource |
Directory.findTarget(Request request,
Response response)
Finds the target Resource if available. |
Resource |
Finder.findTarget(Request request,
Response response)
Finds the target Resource if available. |
Methods in org.restlet that return types with arguments of type Resource | |
---|---|
Class<? extends Resource> |
Finder.getTargetClass()
Returns the target Resource class. |
Method parameters in org.restlet with type arguments of type Resource | |
---|---|
Route |
Router.attach(String uriPattern,
Class<? extends Resource> targetClass)
Attaches a target Resource class to this router based on a given URI pattern. |
Route |
Router.attachDefault(Class<? extends Resource> defaultTargetClass)
Attaches a Resource class to this router as the default target to invoke when no route matches. |
void |
Filter.setNext(Class<? extends Resource> targetClass)
Sets the next Restlet as a Finder for a given Resource class. |
Constructor parameters in org.restlet with type arguments of type Resource | |
---|---|
Finder(Context context,
Class<? extends Resource> targetClass)
Constructor. |
Uses of Resource in org.restlet.data |
---|
Methods in org.restlet.data with parameters of type Resource | |
---|---|
Variant |
ClientInfo.getPreferredVariant(Resource resource,
Language defaultLanguage)
Returns the best variant for a given resource according the the client preferences. A default language is provided in case the resource's variants don't match the client preferences. |
Uses of Resource in org.restlet.util |
---|
Methods in org.restlet.util that return Resource | |
---|---|
abstract Resource |
Engine.createDirectoryResource(Directory handler,
Request request,
Response response)
Creates a directory resource. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |