Object

akka.http.scaladsl.model.Uri

Empty

Related Doc: package Uri

Permalink

object Empty extends Uri

Source
Uri.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Empty
  2. Uri
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val authority: Authority

    Permalink
    Definition Classes
    Uri
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copy(scheme: String = scheme, authority: Authority = authority, path: Path = path, rawQueryString: Option[String] = rawQueryString, fragment: Option[String] = fragment): Uri

    Permalink

    Returns a copy of this Uri with the given components.

    Returns a copy of this Uri with the given components.

    Definition Classes
    Uri
  8. def effectivePort: Int

    Permalink

    The effective port of this Uri given the currently set authority and scheme values.

    The effective port of this Uri given the currently set authority and scheme values. If the authority has an explicitly set port (i.e. a non-zero port value) then this port is the effective port. Otherwise the default port for the current scheme is returned.

    Definition Classes
    Uri
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val fragment: Option[String]

    Permalink
    Definition Classes
    Uri
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isAbsolute: Boolean

    Permalink
    Definition Classes
    Uri
  14. def isEmpty: Boolean

    Permalink
    Definition Classes
    EmptyUri
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isRelative: Boolean

    Permalink
    Definition Classes
    Uri
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val path: Path

    Permalink
    Definition Classes
    Uri
  21. def query(charset: Charset = UTF8, mode: ParsingMode = Uri.ParsingMode.Relaxed): Query

    Permalink

    Parses the rawQueryString member into a Query instance.

    Parses the rawQueryString member into a Query instance.

    Definition Classes
    Uri
  22. def queryString(charset: Charset = UTF8): Option[String]

    Permalink

    Returns the query part of the Uri in its decoded form.

    Returns the query part of the Uri in its decoded form.

    Definition Classes
    Uri
  23. val rawQueryString: Option[String]

    Permalink
    Definition Classes
    Uri
  24. def resolvedAgainst(base: Uri): Uri

    Permalink

    Returns a new absolute Uri that is the result of the resolution process defined by http://tools.ietf.org/html/rfc3986#section-5.2.2 The given base Uri must be absolute.

    Returns a new absolute Uri that is the result of the resolution process defined by http://tools.ietf.org/html/rfc3986#section-5.2.2 The given base Uri must be absolute.

    Definition Classes
    Uri
  25. val scheme: String

    Permalink
    Definition Classes
    Uri
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toEffectiveHttpRequestUri(hostHeaderHost: Host, hostHeaderPort: Int, securedConnection: Boolean = false, defaultAuthority: Authority = Authority.Empty): Uri

    Permalink

    Converts this URI to an "effective HTTP request URI" as defined by http://tools.ietf.org/html/rfc7230#section-5.5

    Converts this URI to an "effective HTTP request URI" as defined by http://tools.ietf.org/html/rfc7230#section-5.5

    Definition Classes
    Uri
  28. def toEffectiveRequestUri(hostHeaderHost: Host, hostHeaderPort: Int, defaultScheme: String, defaultAuthority: Authority = Authority.Empty): Uri

    Permalink

    Converts this URI to an "effective request URI" as defined by http://tools.ietf.org/html/rfc7230#section-5.5

    Converts this URI to an "effective request URI" as defined by http://tools.ietf.org/html/rfc7230#section-5.5

    Definition Classes
    Uri
  29. def toHttpRequestTargetOriginForm: Uri

    Permalink

    Converts this URI into an HTTP request target "origin-form" as defined by https://tools.ietf.org/html/rfc7230#section-5.3.

    Converts this URI into an HTTP request target "origin-form" as defined by https://tools.ietf.org/html/rfc7230#section-5.3.

    Note that the resulting URI instance is not a valid RFC 3986 URI! (As it might be a "relative" URI with a part component starting with a double slash.)

    Definition Classes
    Uri
  30. def toRelative: Uri

    Permalink

    Converts this URI into a relative URI by keeping the path, query and fragment, but dropping the scheme and authority.

    Converts this URI into a relative URI by keeping the path, query and fragment, but dropping the scheme and authority.

    Definition Classes
    Uri
  31. def toString(): String

    Permalink
    Definition Classes
    Uri → AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withAuthority(host: String, port: Int): Uri

    Permalink

    Returns a copy of this Uri with a Authority created using the given host and port.

    Returns a copy of this Uri with a Authority created using the given host and port.

    Definition Classes
    Uri
  36. def withAuthority(host: Host, port: Int, userinfo: String = ""): Uri

    Permalink

    Returns a copy of this Uri with a Authority created using the given host, port and userinfo.

    Returns a copy of this Uri with a Authority created using the given host, port and userinfo.

    Definition Classes
    Uri
  37. def withAuthority(authority: Authority): Uri

    Permalink

    Returns a copy of this Uri with the given authority.

    Returns a copy of this Uri with the given authority.

    Definition Classes
    Uri
  38. def withFragment(fragment: String): Uri

    Permalink

    Returns a copy of this Uri with the given fragment.

    Returns a copy of this Uri with the given fragment.

    Definition Classes
    Uri
  39. def withHost(host: String): Uri

    Permalink

    Returns a copy of this Uri with the given host.

    Returns a copy of this Uri with the given host.

    Definition Classes
    Uri
  40. def withHost(host: Host): Uri

    Permalink

    Returns a copy of this Uri with the given host.

    Returns a copy of this Uri with the given host.

    Definition Classes
    Uri
  41. def withPath(path: Path): Uri

    Permalink

    Returns a copy of this Uri with the given path.

    Returns a copy of this Uri with the given path.

    Definition Classes
    Uri
  42. def withPort(port: Int): Uri

    Permalink

    Returns a copy of this Uri with the given port.

    Returns a copy of this Uri with the given port.

    Definition Classes
    Uri
  43. def withQuery(query: Query): Uri

    Permalink

    Returns a copy of this Uri with the given query.

    Returns a copy of this Uri with the given query.

    Definition Classes
    Uri
  44. def withRawQueryString(rawQuery: String): Uri

    Permalink

    Returns a copy of this Uri with a Query created using the given query string.

    Returns a copy of this Uri with a Query created using the given query string.

    Definition Classes
    Uri
  45. def withScheme(scheme: String): Uri

    Permalink

    Returns a copy of this Uri with the given scheme.

    Returns a copy of this Uri with the given scheme. The scheme change of the Uri has the following effect on the port value:

    • If the Uri has a non-default port for the scheme before the change this port will remain unchanged.
    • If the Uri has the default port for the scheme before the change it will have the default port for the new scheme after the change.
    Definition Classes
    Uri
  46. def withUserInfo(userinfo: String): Uri

    Permalink

    Returns a copy of this Uri with the given userinfo.

    Returns a copy of this Uri with the given userinfo.

    Definition Classes
    Uri
  47. def withoutFragment: Uri

    Permalink

    Drops the fragment from this URI

    Drops the fragment from this URI

    Definition Classes
    Uri

Inherited from Uri

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped