object Uri extends UriFunctions with Serializable
- Source
- Uri.scala
- Alphabetic
- By Inheritance
- Uri
- Serializable
- Serializable
- UriFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Authority(userInfo: Option[UserInfo] = None, host: Host = RegName("localhost"), port: Option[Int] = None) extends Renderable with Product with Serializable
- type Fragment = String
- sealed trait Host extends Renderable
- final case class IPv4(address: CaseInsensitiveString) extends Host with Product with Serializable
- final case class IPv6(address: CaseInsensitiveString) extends Host with Product with Serializable
- class Macros extends AnyRef
- type Path = String
- final case class RegName(host: CaseInsensitiveString) extends Host with Product with Serializable
-
final
class
Scheme extends Ordered[Scheme]
Each org.http4s.Uri begins with a scheme name that refers to a specification for assigning identifiers within that scheme.
Each org.http4s.Uri begins with a scheme name that refers to a specification for assigning identifiers within that scheme.
- See also
https://www.ietf.org/rfc/rfc3986.txt, Section 3.1
- type UserInfo = String
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val eqInstance: Eq[Uri]
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromString(s: String): ParseResult[Uri]
Decodes the String to a Uri using the RFC 3986 uri decoding specification
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
removeDotSegments(path: Path): Path
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
- Definition Classes
- UriFunctions
-
def
requestTarget(s: String): ParseResult[Uri]
Decodes the String to a Uri using the RFC 7230 section 5.3 uri decoding specification
-
def
resolve(base: Uri, reference: Uri): Uri
Resolve a relative Uri reference, per RFC 3986 sec 5.2
Resolve a relative Uri reference, per RFC 3986 sec 5.2
- Definition Classes
- UriFunctions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsafeFromString(s: String): Uri
Parses a String to a Uri according to RFC 3986.
Parses a String to a Uri according to RFC 3986. If decoding fails, throws a ParseFailure.
For totality, call #fromString. For compile-time verification of literals, call #uri.
-
macro
def
uri(s: String): Uri
Literal syntax for URIs.
Literal syntax for URIs. Invalid or non-literal arguments are rejected at compile time.
- Definition Classes
- UriFunctions
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object IPv4 extends Serializable
- object IPv6 extends Serializable
- object RegName extends Serializable
- object Scheme