Class

com.viajobien.busy.models.routing

RouteNode

Related Doc: package routing

Permalink

class RouteNode extends RouteTree

Linear Supertypes
RouteTree, PathUtil, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteNode
  2. RouteTree
  3. PathUtil
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteNode(mapTree: Map[String, RouteTree] = TreeMap.empty[String, RouteTree])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(that: RouteTree): RouteTree

    Permalink

    Merge two trees

    Merge two trees

    that

    a tree to merge with

    Definition Classes
    RouteNodeRouteTree
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val PATH_PART_WILDCARD: String

    Permalink
    Attributes
    protected
    Definition Classes
    PathUtil
  6. val PATH_WILDCARD: String

    Permalink
    Attributes
    protected
    Definition Classes
    PathUtil
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def enrich(thatMap: Map[String, RouteTree], routes: List[Route]): RouteTree

    Permalink

    Enrich this tree with a new one.

    Enrich this tree with a new one.

    thatMap

    a map representing the tree used to enrich this

    routes

    a list of routing.Route that must be in this node

    returns

    a new RouteTree

    Definition Classes
    RouteNodeRouteTree
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def find(parts: List[String]): List[Route]

    Permalink

    Find the first that match routing.Route#satisfy

    Find the first that match routing.Route#satisfy

    parts

    the path parts to use to find what rote match, must not be empty

    returns

    a Some[Route] if there is someone that match, None otherwise

    Definition Classes
    RouteNodeRouteTree
  14. def find(req: Request[AnyContent]): Option[Route]

    Permalink

    Find the proper routing.Route for a play.api.mvc.Request

    Find the proper routing.Route for a play.api.mvc.Request

    req

    a play.api.mvc.Request to find the route

    returns

    a scala.Some of routing.Route if there is someone that match, None otherwise

    Definition Classes
    RouteTree
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val mapTree: Map[String, RouteTree]

    Permalink
  19. def mergeMaps(thatMap: Map[String, RouteTree]): Map[String, RouteTree]

    Permalink

    Merge this.mapTree with another one

    Merge this.mapTree with another one

    thatMap

    a map to merge in this

    returns

    the map resulting of merge

    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def splitPath(path: String, limit: Int = 0, dropChars: Int = 1): List[String]

    Permalink

    Precondition:

      The path start with / and can end with or without /:
        Correct: /one/two/three
        Correct: /one/two/three/
        Incorrect: one/two/three
        Incorrect: one/two/three/
    

    Precondition:

      The path start with / and can end with or without /:
        Correct: /one/two/three
        Correct: /one/two/three/
        Incorrect: one/two/three
        Incorrect: one/two/three/
    

    limit

    limit the split quantity, 0 for no limit

    returns

    a list of splited path by /

    Definition Classes
    PathUtil
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    RouteNodeRouteTree → AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RouteTree

Inherited from PathUtil

Inherited from AnyRef

Inherited from Any

Ungrouped