final case class Annotated[A](codec: PathCodec[A], annotations: Chunk[MetaData[A]]) extends PathCodec[A] with Product with Serializable
- Alphabetic
- By Inheritance
- Annotated
- Serializable
- Serializable
- Product
- Equals
- PathCodec
- 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
++[B](that: PathCodec[B])(implicit combiner: Combiner[A, B]): PathCodec[Out]
- Definition Classes
- PathCodec
-
final
def
/[Env](routes: Routes[Env, Response])(implicit ev: <:<[PathCodec[A], PathCodec[Unit]]): Routes[Env, Response]
- Definition Classes
- PathCodec
-
final
def
/[B](that: PathCodec[B])(implicit combiner: Combiner[A, B]): PathCodec[Out]
- Definition Classes
- PathCodec
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
??(doc: Doc): PathCodec[A]
Attaches documentation to the path codec, which may be used when generating developer docs for a route.
Attaches documentation to the path codec, which may be used when generating developer docs for a route.
- Definition Classes
- PathCodec
-
final
def
annotate(metaData: MetaData[A]): PathCodec[A]
- Definition Classes
- PathCodec
- val annotations: Chunk[MetaData[A]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
asType[B](implicit ev: =:=[A, B]): PathCodec[B]
- Definition Classes
- PathCodec
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val codec: PathCodec[A]
-
final
def
decode(path: Path): Either[String, A]
Decodes a method and path into a value of type
A.Decodes a method and path into a value of type
A.- Definition Classes
- PathCodec
-
def
doc: Doc
Returns the documentation for the path codec, if any.
Returns the documentation for the path codec, if any.
- Definition Classes
- PathCodec
-
final
def
encode(value: A): Either[String, Path]
Encodes a value of type
Ainto the method and path that this route pattern would successfully match against.Encodes a value of type
Ainto the method and path that this route pattern would successfully match against.- Definition Classes
- PathCodec
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Annotated → Equals → AnyRef → Any
-
final
def
example(name: String, example: A): PathCodec[A]
- Definition Classes
- PathCodec
-
final
def
examples(examples: (String, A)*): PathCodec[A]
- Definition Classes
- PathCodec
-
final
def
format(value: A): Either[String, Path]
Formats a value of type
Ainto a path.Formats a value of type
Ainto a path. This is useful for embedding paths into HTML that is rendered by the server.- Definition Classes
- PathCodec
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
matches(path: Path): Boolean
Determines if this pattern matches the specified method and path.
Determines if this pattern matches the specified method and path. Rather than use this method, you should just try to decode it directly, for higher performance, otherwise the same information will be decoded twice.
- Definition Classes
- PathCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
render: String
Renders the path codec as a string.
Renders the path codec as a string.
- Definition Classes
- PathCodec
-
def
segments: Chunk[SegmentCodec[_]]
Returns the segments of the path codec.
Returns the segments of the path codec.
- Definition Classes
- PathCodec
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- PathCodec → AnyRef → Any
-
final
def
transform[A2](f: (A) ⇒ A2)(g: (A2) ⇒ A): PathCodec[A2]
- Definition Classes
- PathCodec
-
final
def
transformOrFail[A2](f: (A) ⇒ Either[String, A2])(g: (A2) ⇒ Either[String, A]): PathCodec[A2]
- Definition Classes
- PathCodec
-
final
def
transformOrFailLeft[A2](f: (A) ⇒ Either[String, A2])(g: (A2) ⇒ A): PathCodec[A2]
- Definition Classes
- PathCodec
-
final
def
transformOrFailRight[A2](f: (A) ⇒ A2)(g: (A2) ⇒ Either[String, A]): PathCodec[A2]
- Definition Classes
- PathCodec
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )