object Path
- Source
- Uri.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Path
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- lazy val Asterisk: Path
- val Root: Path
-
def
apply(segments: Vector[Segment], absolute: Boolean = false, endsWithSlash: Boolean = false): Path
This constructor allows you to construct the path directly.
This constructor allows you to construct the path directly. Each path segment needs to be encoded for it to be used here.
- segments
the segments that this path consists of. MUST be Urlencoded.
- absolute
if the path is absolute. I.E starts with a "/"
- endsWithSlash
if the path is a "directory", ends with a "/"
- returns
a Uri.Path that can be used in Uri, or by itself.
- val empty: Path
- implicit val http4sInstancesForPath: Order[Path] with Semigroup[Path]
- def unsafeFromString(fromPath: String): Path
- object Segment extends (String) ⇒ Segment