## Uses of Class
org.restlet.routing.Route

Packages that use Route
Package | Description
--- | ---
org.restlet.engine.component | Supports Restlet components.
org.restlet.routing | Classes related to call routing.
org.restlet.util | Various utility classes.

### Uses of Route in org.restlet.engine.component

Subclasses of Route in org.restlet.engine.component
Modifier and Type | Class and Description
--- | ---
`class` | `ClientRoute` Router scorer based on a target client connector.
`class` | `HostRoute` Route based on a target VirtualHost.

Methods in org.restlet.engine.component that return Route
Modifier and Type | Method and Description
--- | ---
`Route` | InternalRouter.`attach(Restlet target)`
`Route` | InternalRouter.`attach(java.lang.String uriPattern, Restlet target)`
`Route` | InternalRouter.`attachDefault(Restlet defaultTarget)`
`protected Route` | InternalRouter.`createRoute(java.lang.String uriPattern, Restlet target, int matchingMode)`

Methods in org.restlet.engine.component with parameters of type Route
Modifier and Type | Method and Description
--- | ---
`protected void` | ServerRouter.`logRoute(Route route)`
`protected void` | ClientRouter.`logRoute(Route route)`

### Uses of Route in org.restlet.routing

Methods in org.restlet.routing that return Route
Modifier and Type | Method and Description
--- | ---
`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(Restlet target, int matchingMode)` Attaches a target Restlet to this router with an empty URI pattern.
`Route` | Router.`attach(java.lang.String pathTemplate, java.lang.Class<?> targetClass)` Attaches a target Resource class to this router based on a given URI pattern.
`Route` | Router.`attach(java.lang.String pathTemplate, java.lang.Class<?> targetClass, int matchingMode)` Attaches a target Resource class to this router based on a given URI pattern.
`Route` | Router.`attach(java.lang.String pathTemplate, Restlet target)` Attaches a target Restlet to this router based on a given URI pattern.
`Route` | VirtualHost.`attach(java.lang.String uriPattern, Restlet target)` Attaches a target Restlet to this router based on a given URI pattern.
`Route` | Router.`attach(java.lang.String pathTemplate, Restlet target, int matchingMode)` Attaches a target Restlet to this router based on a given URI pattern.
`Route` | Router.`attachDefault(java.lang.Class<?> 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(java.lang.String uriPattern, Restlet target)` Creates a new route for the given URI pattern and target.
`protected Route` | Router.`createRoute(java.lang.String uriPattern, Restlet target, int matchingMode)` Creates a new route for the given URI pattern, target and matching mode.
`protected Route` | VirtualHost.`createRoute(java.lang.String uriPattern, Restlet target, int matchingMode)`
`Route` | Route.`extractCookie(java.lang.String attribute, java.lang.String cookieName, boolean first)` Deprecated. Extracts an attribute from the request cookies.
`Route` | Route.`extractEntity(java.lang.String attribute, java.lang.String parameter, boolean first)` Deprecated. Extracts an attribute from the request entity form.
`Route` | Route.`extractQuery(java.lang.String attribute, java.lang.String parameter, boolean first)` Deprecated. 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 attempts.

Methods in org.restlet.routing with parameters of type Route
Modifier and Type | Method and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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
Constructor and Description
`RouteList(java.util.List<Route> delegate)` Constructor.