Annotated
Attributes
- Source
- PathCodec.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Compares the receiver object (this) with the argument object (that) for equivalence.
Compares the receiver object (this) with the argument object (that) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
xof typeAny,x.equals(x)should returntrue. - It is symmetric: for any instances
xandyof typeAny,x.equals(y)should returntrueif and only ify.equals(x)returnstrue. - It is transitive: for any instances
x,y, andzof typeAnyifx.equals(y)returnstrueandy.equals(z)returnstrue, thenx.equals(z)should returntrue.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
trueif the receiver object is equivalent to the argument;falseotherwise. - Definition Classes
-
Equals -> Any
- Source
- PathCodec.scala
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
- Source
- PathCodec.scala
Inherited methods
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
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.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Decodes a method and path into a value of type A.
Decodes a method and path into a value of type A.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Returns the documentation for the path codec, if any.
Returns the documentation for the path codec, if any.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Encodes a value of type A into the method and path that this route pattern would successfully match against.
Encodes a value of type A into the method and path that this route pattern would successfully match against.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Formats a value of type A into a path. This is useful for embedding paths into HTML that is rendered by the server.
Formats a value of type A into a path. This is useful for embedding paths into HTML that is rendered by the server.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
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.
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.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodecPlatformSpecific
- Source
- PathCodecPlatformSpecific.scala
Attributes
- Inherited from:
- PathCodecPlatformSpecific
- Source
- PathCodecPlatformSpecific.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Renders the path codec as a string. Surrounds the path variables with the specified prefix and suffix.
Renders the path codec as a string. Surrounds the path variables with the specified prefix and suffix.
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Renders the path codec as a string.
Returns the segments of the path codec.
Converts this PathCodec[Unit] to a Path using the encode method. Useful for round-trip conversion.
Converts this PathCodec[Unit] to a Path using the encode method. Useful for round-trip conversion.
Value parameters
- ev
-
evidence that A =:= Unit
Attributes
- Returns
-
the encoded Path, or Path.root if encoding fails
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
PathCodec -> Any
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala
Attributes
- Inherited from:
- PathCodec
- Source
- PathCodec.scala