|
||||||||||
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 |
---|
Method parameters in org.restlet with type arguments of type Resource | |
---|---|
Route |
Router.attach(java.lang.String uriPattern,
java.lang.Class<? extends Resource> targetClass)
Attaches a target Resource class to this router based on a given URI pattern. |
Route |
Router.attachDefault(java.lang.Class<? extends Resource> defaultTargetClass)
Attaches a Resource class to this router as the default target to invoke when no route matches. |
protected Finder |
VirtualHost.createFinder(java.lang.Class<? extends Resource> targetClass)
Creates a new finder instance based on the "targetClass" property. |
protected Finder |
Router.createFinder(java.lang.Class<? extends Resource> targetClass)
Creates a new finder instance based on the "targetClass" property. |
void |
Filter.setNext(java.lang.Class<? extends Resource> targetClass)
Sets the next Restlet as a Finder for a given Resource class. |
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 |