|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServerResource | |
|---|---|
| org.restlet.engine.component | Supports Restlet components. |
| org.restlet.engine.local | Supports local connectors and resources. |
| org.restlet.resource | Client and server resource classes. |
| org.restlet.routing | Classes related to call routing. |
| Uses of ServerResource in org.restlet.engine.component |
|---|
| Method parameters in org.restlet.engine.component with type arguments of type ServerResource | |
|---|---|
Finder |
InternalRouter.createFinder(Class<? extends ServerResource> targetClass)
|
| Uses of ServerResource in org.restlet.engine.local |
|---|
| Subclasses of ServerResource in org.restlet.engine.local | |
|---|---|
class |
DirectoryServerResource
Resource supported by a set of context representations (from file system, class loaders and webapp context). |
| Uses of ServerResource in org.restlet.resource |
|---|
| Methods in org.restlet.resource that return ServerResource | |
|---|---|
ServerResource |
Finder.create(Class<? extends ServerResource> targetClass,
Request request,
Response response)
Creates a new instance of a given ServerResource subclass. |
ServerResource |
Finder.create(Request request,
Response response)
Creates a new instance of the ServerResource subclass designated
by the "targetClass" property. |
ServerResource |
Finder.find(Request request,
Response response)
Finds the target ServerResource if available. |
| Methods in org.restlet.resource that return types with arguments of type ServerResource | |
|---|---|
Class<? extends ServerResource> |
Finder.getTargetClass()
Returns the target resource class which must be either a subclass of ServerResource. |
| Method parameters in org.restlet.resource with type arguments of type ServerResource | |
|---|---|
ServerResource |
Finder.create(Class<? extends ServerResource> targetClass,
Request request,
Response response)
Creates a new instance of a given ServerResource subclass. |
static Finder |
Finder.createFinder(Class<? extends ServerResource> targetClass,
Class<? extends Finder> finderClass,
Context context,
Logger logger)
Creates a new finder instance based on the "targetClass" property. |
void |
Finder.setTargetClass(Class<? extends ServerResource> targetClass)
Sets the target resource class which must be a subclass of ServerResource. |
| Constructor parameters in org.restlet.resource with type arguments of type ServerResource | |
|---|---|
Finder(Context context,
Class<? extends ServerResource> targetClass)
Constructor. |
|
| Uses of ServerResource in org.restlet.routing |
|---|
| Method parameters in org.restlet.routing with type arguments of type ServerResource | |
|---|---|
TemplateRoute |
Router.attach(String pathTemplate,
Class<? extends ServerResource> targetClass)
Attaches a target Resource class to this router based on a given URI pattern. |
TemplateRoute |
Router.attach(String pathTemplate,
Class<? extends ServerResource> targetClass,
int matchingMode)
Attaches a target Resource class to this router based on a given URI pattern. |
TemplateRoute |
Router.attachDefault(Class<? extends ServerResource> defaultTargetClass)
Attaches a Resource class to this router as the default target to invoke when no route matches. |
Finder |
VirtualHost.createFinder(Class<? extends ServerResource> targetClass)
Creates a new finder instance based on the "targetClass" property. |
void |
Filter.setNext(Class<? extends ServerResource> targetClass)
Sets the next Restlet as a Finder for a given
ServerResource class. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||