|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Route | |
|---|---|
| org.restlet | Core classes of the API. |
| org.restlet.util | Utility classes and interfaces used in the rest of the API. |
| Uses of Route in org.restlet |
|---|
| Methods in org.restlet that return Route | |
|---|---|
Route |
Router.attach(Restlet target)
Attaches a target Restlet to this router with an empty URI pattern. |
Route |
VirtualHost.attach(Restlet target)
Attaches a target Restlet to this router with an empty URI pattern. |
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.attach(String uriPattern,
Restlet target)
Attaches a target Restlet to this router based on a given URI pattern. |
Route |
VirtualHost.attach(String uriPattern,
Restlet target)
Attaches a target Restlet 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. |
Route |
Router.attachDefault(Restlet defaultTarget)
Attaches a Restlet to this router as the default target to invoke when no route matches. |
Route |
VirtualHost.attachDefault(Restlet defaultTarget)
Attaches a Restlet to this router as the default target to invoke when no route matches. |
protected Route |
Router.createRoute(String uriPattern,
Restlet target)
Creates a new route for the given URI pattern and target. |
protected Route |
VirtualHost.createRoute(String uriPattern,
Restlet target)
|
Route |
Route.extractCookie(String attribute,
String cookieName,
boolean first)
Extracts an attribute from the request cookies. |
Route |
Route.extractEntity(String attribute,
String parameter,
boolean first)
Extracts an attribute from the request entity form. |
Route |
Route.extractQuery(String attribute,
String parameter,
boolean first)
Extracts an attribute from the query string of the resource reference. |
protected Route |
Router.getCustom(Request request,
Response response)
Returns the matched route according to a custom algorithm. |
Route |
Router.getDefaultRoute()
Returns the default route to test if no other one was available after retrying the maximum number of attemps. |
| Methods in org.restlet with parameters of type Route | |
|---|---|
void |
Router.setDefaultRoute(Route defaultRoute)
Sets the default route tested if no other one was available. |
| Uses of Route in org.restlet.util |
|---|
| Methods in org.restlet.util that return Route | |
|---|---|
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. |
| Constructor parameters in org.restlet.util with type arguments of type Route | |
|---|---|
RouteList(List<Route> delegate)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||