object PathSegment

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathSegment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type PathSegmentNoError[T] = PathSegment[T, DummyError]

    A Type of path segment where we don't care about the error.

  2. type PathSegmentSimpleError[T] = PathSegment[T, SimplePathMatchingError]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final lazy val dummyErrorImpl: PathSegmentImpl[DummyError]
  7. final def empty: PathSegment[Unit, Nothing]

    Simple path segment that matches everything by passing segments down the line.

  8. final def endOfSegments[A](implicit pathMatchingError: PathMatchingError[A]): PathSegment[Unit, A]

    Check that the segments ends at this point.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def factory[T, A](matching: (List[Segment]) ⇒ Either[A, PathMatchOutput[T]], creating: (T) ⇒ List[Segment]): PathSegment[T, A]

    Trait factory

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def intSegment[A](implicit pathMatchingError: PathMatchingError[A], fromThrowable: ErrorFromThrowable[A]): PathSegment[Int, A]

    Matches a simple Int and tries to convert it to an Int.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def noMatch[A](implicit pathMatchingError: PathMatchingError[A]): PathSegment[Unit, A]

    Simple path segment that matches nothing.

    Simple path segment that matches nothing. This is the neutral of the || operator.

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def oneOf[T, A](t: T, ts: T*)(implicit fromString: FromString[T, A], printer: Printer[T], pathMatchingError: PathMatchingError[A]): PathSegment[Unit, A]

    PathSegment that matches one of the given different possibilities.

    PathSegment that matches one of the given different possibilities.

    This can be useful in a Router, when you want to delegate the final decision to an inner router. Since all possibilities are good, the creation of segment simply takes the first one.

  22. final def remainingSegments[A]: PathSegment[List[String], A]

    Consumes all the remaining segments.

    Consumes all the remaining segments.

    This can be useful for static resources.

  23. final def root: PathSegment[Unit, Nothing]
  24. final def segment[T, A](implicit fromString: FromString[T, A], printer: Printer[T], error: PathMatchingError[A]): PathSegment[T, A]

    Creates a segment matching any element of type T, as long as the urldsl.vocabulary.FromString can de-serialize it.

  25. final lazy val simplePathErrorImpl: PathSegmentImpl[SimplePathMatchingError]
  26. final def simplePathSegment[T, A](matching: (Segment) ⇒ Either[A, T], creating: (T) ⇒ Segment)(implicit pathMatchingError: PathMatchingError[A]): PathSegment[T, A]

    Simple trait factory for "single segment"-oriented path Segments.

    Simple trait factory for "single segment"-oriented path Segments.

    This can be used to match a simple String, or a simple Int, etc...

  27. final def stringSegment[A](implicit pathMatchingError: PathMatchingError[A]): PathSegment[String, A]

    Matches a simple String and returning it.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. implicit final def unaryPathSegment[T, A](t: T)(implicit fromString: FromString[T, A], printer: Printer[T], pathMatchingError: PathMatchingError[A]): PathSegment[Unit, A]

    Returns a urldsl.language.PathSegment which matches exactly the argument t.

    Returns a urldsl.language.PathSegment which matches exactly the argument t.

    This conversion is implicit if you can provide a urldsl.vocabulary.FromString and a urldsl.vocabulary.Printer, so that it enables writing, e.g., root / "hello" / true

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped