trait UrlGeneratorSupport extends AnyRef
Adds support for generating URIs from routes and their params.
- Alphabetic
- By Inheritance
- UrlGeneratorSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
url(route: Route, params: Map[String, String], splats: Iterable[String])(implicit req: HttpServletRequest): String
Calculate a URL for a reversible route, some params, and some splats.
Calculate a URL for a reversible route, some params, and some splats.
- route
a reversible route
- params
a map of param/value pairs
- splats
a series of splat parameters
- returns
a URI that matches the route for the given splats
- Exceptions thrown
Exception
if the route is not reversibleIllegalStateException
if the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
-
def
url(route: Route, splat: String, moreSplats: String*)(implicit req: HttpServletRequest): String
Calculate a URL for a reversible route and some splats.
Calculate a URL for a reversible route and some splats.
- route
a reversible route
- splat
the first splat parameter
- moreSplats
any splat parameters beyond the first
- returns
a URI that matches the route for the given splats
- Exceptions thrown
Exception
if the route is not reversibleIllegalStateException
if the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
-
def
url(route: Route, params: (String, String)*)(implicit req: HttpServletRequest): String
Calculate a URL for a reversible route and some params.
Calculate a URL for a reversible route and some params.
- route
a reversible route
- params
a list of named param/value pairs
- returns
a URI that matches the route for the given params
- Exceptions thrown
Exception
if the route is not reversibleIllegalStateException
if the route's base path cannot be determined. This may occur outside of an HTTP request's lifecycle.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )