Package

play.core

routing

Permalink

package routing

The play.core.routing package contains all the code necessary for Play's code generated routers.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. routing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class DynamicPart(name: String, constraint: String, encodeable: Boolean) extends PathPart with Product with Serializable

    Permalink

    A dynamically extracted part of the path.

    A dynamically extracted part of the path.

    name

    The name of the part.

    constraint

    The constraint - that is, the type.

    encodeable

    Whether the path should be encoded/decoded.

  2. abstract class GeneratedRouter extends Router

    Permalink

    A generated router.

  3. case class HandlerDef(classLoader: ClassLoader, routerPackage: String, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String) extends Product with Serializable

    Permalink

    Information about a Handler, especially useful for loading the handler with reflection.

  4. trait HandlerInvoker[-T] extends AnyRef

    Permalink

    An object that, when invoked with a thunk, produces a Handler that wraps that thunk.

    An object that, when invoked with a thunk, produces a Handler that wraps that thunk. Constructed by a HandlerInvokerFactory.

  5. trait HandlerInvokerFactory[-T] extends AnyRef

    Permalink

    An object that creates a HandlerInvoker.

    An object that creates a HandlerInvoker. Used by the createInvoker method to create a HandlerInvoker for each route. The Routes.createInvoker method looks for an implicit HandlerInvokerFactory and uses that to create a HandlerInvoker.

    Annotations
    @implicitNotFound( ... )
  6. class Include extends AnyRef

    Permalink

    An included router

  7. case class Param[T](name: String, value: Either[String, T]) extends Product with Serializable

    Permalink
  8. trait PathPart extends AnyRef

    Permalink

    A part of a path.

  9. case class PathPattern(parts: Seq[PathPart]) extends Product with Serializable

    Permalink

    A pattern for match paths, consisting of a sequence of path parts.

  10. case class ReverseRouteContext(fixedParams: Map[String, Any]) extends Product with Serializable

    Permalink

    The context for a reverse route.

    The context for a reverse route.

    This is made available implicitly to PathBindables and QueryStringBindables in the reverse router so that they can query the fixed params that are passed to the action.

    An empty reverse router context is made available implicitly to the router and JavaScript router.

    fixedParams

    The fixed params that this route passes to the action.

  11. case class RouteParams(path: Map[String, Either[Throwable, String]], queryString: Map[String, Seq[String]]) extends Product with Serializable

    Permalink
  12. case class StaticPart(value: String) extends PathPart with Product with Serializable

    Permalink

    A static part of the path.

Value Members

  1. object HandlerInvokerFactory

    Permalink
  2. object Include

    Permalink

    An included router

  3. object ReverseRouteContext extends Serializable

    Permalink
  4. object Route

    Permalink

    A route

  5. def dynamicString(dynamic: String): String

    Permalink
  6. def queryString(items: List[Option[String]]): String

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped