Package | Description |
---|---|
org.restlet.routing |
Classes related to call routing.
|
Modifier and Type | Method and Description |
---|---|
TemplateRoute |
Router.attach(Restlet target)
Attaches a target Restlet to this router with an empty URI pattern.
|
TemplateRoute |
VirtualHost.attach(Restlet target)
Attaches a target Restlet to this router with an empty URI pattern.
|
TemplateRoute |
Router.attach(Restlet target,
int matchingMode)
Attaches a target Restlet to this router with an empty URI pattern.
|
TemplateRoute |
Router.attach(java.lang.String pathTemplate,
java.lang.Class<? extends ServerResource> targetClass)
Attaches a target Resource class to this router based on a given URI
pattern.
|
TemplateRoute |
Router.attach(java.lang.String pathTemplate,
java.lang.Class<? extends ServerResource> targetClass,
int matchingMode)
Attaches a target Resource class to this router based on a given URI
pattern.
|
TemplateRoute |
Router.attach(java.lang.String pathTemplate,
Restlet target)
Attaches a target Restlet to this router based on a given URI pattern.
|
TemplateRoute |
VirtualHost.attach(java.lang.String uriPattern,
Restlet target)
Attaches a target Restlet to this router based on a given URI pattern.
|
TemplateRoute |
Router.attach(java.lang.String pathTemplate,
Restlet target,
int matchingMode)
Attaches a target Restlet to this router based on a given URI pattern.
|
TemplateRoute |
Router.attachDefault(java.lang.Class<? extends ServerResource> defaultTargetClass)
Attaches a Resource class to this router as the default target to invoke
when no route matches.
|
TemplateRoute |
Router.attachDefault(Restlet defaultTarget)
Attaches a Restlet to this router as the default target to invoke when no
route matches.
|
TemplateRoute |
VirtualHost.attachDefault(Restlet defaultTarget)
Attaches a Restlet to this router as the default target to invoke when no
route matches.
|
protected TemplateRoute |
Router.createRoute(java.lang.String uriPattern,
Restlet target)
Creates a new route for the given URI pattern and target.
|
protected TemplateRoute |
Router.createRoute(java.lang.String uriPattern,
Restlet target,
int matchingMode)
Creates a new route for the given URI pattern, target and matching mode.
|
protected TemplateRoute |
VirtualHost.createRoute(java.lang.String uriPattern,
Restlet target,
int matchingMode) |
TemplateRoute |
Router.redirectPermanent(java.lang.String pathTemplate,
java.lang.String targetUri)
Attaches a permanent redirection to this router based on a given URI
pattern.
|
TemplateRoute |
Router.redirectSeeOther(java.lang.String pathTemplate,
java.lang.String targetUri)
Attaches a redirection to this router based on a given URI pattern.
|
TemplateRoute |
Router.redirectTemporary(java.lang.String pathTemplate,
java.lang.String targetUri)
Attaches a temporary redirection to this router based on a given URI
pattern.
|
Copyright © 2005-2024 Restlet.