UrlGenerator
Attributes
- Graph
-
- Supertypes
- Self type
-
UrlGenerator.type
Members list
Value members
Inherited methods
Calculate a URL for a reversible route, some params, and some splats.
Calculate a URL for a reversible route, some params, and some splats.
Value parameters
- params
-
a map of param/value pairs
- route
-
a reversible route
- splats
-
a series of splat parameters
Attributes
- Returns
-
a URI that matches the route for the given splats
- Throws
-
Exception
if the route is not reversible
IllegalStateExceptionif the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
- Inherited from:
- UrlGeneratorSupport
Calculate a URL for a reversible route and some splats.
Calculate a URL for a reversible route and some splats.
Value parameters
- moreSplats
-
any splat parameters beyond the first
- route
-
a reversible route
- splat
-
the first splat parameter
Attributes
- Returns
-
a URI that matches the route for the given splats
- Throws
-
Exception
if the route is not reversible
IllegalStateExceptionif the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
- Inherited from:
- UrlGeneratorSupport
Calculate a URL for a reversible route and some params.
Calculate a URL for a reversible route and some params.
Value parameters
- params
-
a list of named param/value pairs
- route
-
a reversible route
Attributes
- Returns
-
a URI that matches the route for the given params
- Throws
-
Exception
if the route is not reversible
IllegalStateExceptionif the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
- Inherited from:
- UrlGeneratorSupport