play.core

routing

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    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 api.routing.Router

    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

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

  4. trait HandlerInvoker[T] extends AnyRef

    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

    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

    An included router

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

  8. trait PathPart extends AnyRef

    A part of a path.

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

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

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

    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

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

    A static part of the path.

Value Members

  1. object HandlerInvokerFactory

  2. object Include

    An included router

  3. object ReverseRouteContext extends Serializable

  4. object Route

    A route

  5. def dynamicString(dynamic: String): String

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

Inherited from AnyRef

Inherited from Any

Ungrouped