abstract class Authority extends AnyRef

Represents a hostname, port and user info.

Source
Authority.java
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Authority
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Authority()

Abstract Value Members

  1. abstract def host(): Host

    Host in a URI

  2. abstract def port(): Int

    A port number that may be 0 to signal the default port of for scheme.

    A port number that may be 0 to signal the default port of for scheme. In general what you want is not the value of this field but Uri::port::

  3. abstract def userinfo(): String

    The percent decoded userinfo.

    The percent decoded userinfo. According to https://tools.ietf.org/html/rfc3986#section-3.2.1 the "user:password" syntax is deprecated and implementations are encouraged to ignore any characters after the colon (:). Therefore, it is not guaranteed that future versions of this class will preserve full userinfo between parsing and rendering (even if it might do so right now).