Uses of Class
org.restlet.routing.TemplateRoute
Packages that use TemplateRoute
Package
Description
Supports Restlet components.
Classes related to call routing.
-
Uses of TemplateRoute in org.restlet.engine.component
Methods in org.restlet.engine.component that return TemplateRouteModifier and TypeMethodDescriptionInternalRouter.attachDefault(Restlet defaultTarget) protected TemplateRouteInternalRouter.createRoute(String uriPattern, Restlet target, int matchingMode) -
Uses of TemplateRoute in org.restlet.routing
Methods in org.restlet.routing that return TemplateRouteModifier and TypeMethodDescriptionRouter.attach(String pathTemplate, Class<? extends ServerResource> targetClass) Attaches a target Resource class to this router based on a given URI pattern.Router.attach(String pathTemplate, Class<? extends ServerResource> targetClass, int matchingMode) Attaches a target Resource class to this router based on a given URI pattern.Attaches a target Restlet to this router based on a given URI pattern.Attaches a target Restlet to this router based on a given URI pattern.Attaches a target Restlet to this router with an empty URI pattern.Attaches a target Restlet to this router with an empty URI pattern.Attaches a target Restlet to this router based on a given URI pattern.Attaches a target Restlet to this router with an empty URI pattern.Router.attachDefault(Class<? extends ServerResource> defaultTargetClass) Attaches a Resource class to this router as the default target to invoke when no route matches.Router.attachDefault(Restlet defaultTarget) Attaches a Restlet to this router as the default target to invoke when no route matches.VirtualHost.attachDefault(Restlet defaultTarget) Attaches a Restlet to this router as the default target to invoke when no route matches.protected TemplateRouteRouter.createRoute(String uriPattern, Restlet target) Creates a new route for the given URI pattern and target.protected TemplateRouteRouter.createRoute(String uriPattern, Restlet target, int matchingMode) Creates a new route for the given URI pattern, target and matching mode.protected TemplateRouteVirtualHost.createRoute(String uriPattern, Restlet target, int matchingMode) Router.redirectPermanent(String pathTemplate, String targetUri) Attaches a permanent redirection to this router based on a given URI pattern.Router.redirectSeeOther(String pathTemplate, String targetUri) Attaches a redirection to this router based on a given URI pattern.Router.redirectTemporary(String pathTemplate, String targetUri) Attaches a temporary redirection to this router based on a given URI pattern.