|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Route | |
---|---|
org.restlet.routing | Classes related to call routing. |
org.restlet.util | Various utility classes. |
Uses of Route in org.restlet.routing |
---|
Subclasses of Route in org.restlet.routing | |
---|---|
class |
TemplateRoute
Filter scoring the affinity of calls with the attached Restlet. |
Methods in org.restlet.routing that return Route | |
---|---|
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 attempts. |
Methods in org.restlet.routing with parameters of type Route | |
---|---|
protected void |
Router.logRoute(Route route)
Logs the route selected. |
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 |