Path

org.http4s.Uri.Path
See thePath companion class
object Path

Attributes

Companion
class
Source
Uri.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Path.type

Members list

Type members

Classlikes

final class Segment

Attributes

Companion
object
Source
Uri.scala
Supertypes
class Object
trait Matchable
class Any
object Segment extends String => Segment

Attributes

Companion
class
Source
Uri.scala
Supertypes
trait String => Segment
class Object
trait Matchable
class Any
Self type
Segment.type

Attributes

Companion
trait
Source
Uri.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait SegmentEncoder[A] extends Serializable

Attributes

Companion
object
Source
Uri.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(segments: Vector[Segment], absolute: Boolean, endsWithSlash: Boolean): 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.

Value parameters

absolute

if the path is absolute. I.E starts with a "/"

endsWithSlash

if the path is a "directory", ends with a "/"

segments

the segments that this path consists of. MUST be Urlencoded.

Attributes

Returns

a Uri.Path that can be used in Uri, or by itself.

Source
Uri.scala
def unsafeFromString(fromPath: String): Path

Attributes

Source
Uri.scala

Deprecated methods

def fromString(fromPath: String): Path

Attributes

Deprecated
[Since version 0.22.0-M6] Use unsafeFromString instead
Source
Uri.scala

Concrete fields

lazy val Asterisk: Path

Attributes

Source
Uri.scala
val Root: Path

Attributes

Source
Uri.scala
val empty: Path

Attributes

Source
Uri.scala

Implicits

Implicits

Attributes

Source
Uri.scala