Packages

object Path

Source
Uri.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Segment extends AnyRef

Value Members

  1. lazy val Asterisk: Path
  2. val Root: Path
  3. 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.

  4. val empty: Path
  5. implicit val http4sInstancesForPath: Order[Path] with Semigroup[Path]
  6. def unsafeFromString(fromPath: String): Path
  7. object Segment extends (String) ⇒ Segment

Deprecated Value Members

  1. def fromString(fromPath: String): Path
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.0-M6) Use unsafeFromString instead