|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServerResource | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.resource | Client and server resource classes. |
org.restlet.routing | Classes related to call routing. |
org.restlet.util | Various utility classes. |
Uses of ServerResource in org.restlet |
---|
Method parameters in org.restlet with type arguments of type ServerResource | |
---|---|
Finder |
Restlet.createFinder(Class<? extends ServerResource> resourceClass)
Creates a new finder instance based on the "targetClass" property. |
void |
Application.setClientRoot(Class<? extends ServerResource> clientRootClass)
Deprecated. Use Application.setOutboundRoot(Class) instead |
void |
Application.setInboundRoot(Class<? extends ServerResource> inboundRootClass)
Sets the inbound root Resource class. |
void |
Server.setNext(Class<? extends ServerResource> nextClass)
Sets the next Restlet as a Finder for a given resource class. |
void |
Application.setOutboundRoot(Class<? extends ServerResource> outboundRootClass)
Sets the outbound root Resource class. |
Constructor parameters in org.restlet with type arguments of type ServerResource | |
---|---|
Server(Context context,
Protocol protocol,
Class<? extends ServerResource> nextClass)
Constructor. |
|
Server(Context context,
Protocol protocol,
int port,
Class<? extends ServerResource> nextClass)
Constructor. |
|
Server(Protocol protocol,
Class<? extends ServerResource> nextClass)
Constructor using the protocol's default port. |
|
Server(Protocol protocol,
int port,
Class<? extends ServerResource> nextClass)
Constructor. |
|
Server(Protocol protocol,
String address,
Class<? extends ServerResource> nextClass)
Constructor using the protocol's default port. |
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. |
Uses of ServerResource in org.restlet.util |
---|
Method parameters in org.restlet.util with type arguments of type ServerResource | |
---|---|
void |
ServerList.setNext(Class<? extends ServerResource> nextClass)
Deprecated. To be removed. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |