Authority

case class Authority(userInfo: Option[UserInfo], hostSegment: Segment, port: Option[Int])
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def host(h: String): Authority

Replace the host. Does not validate the new host value if it's nonempty.

Replace the host. Does not validate the new host value if it's nonempty.

def host: String

Replace the host. Does not validate the new host value if it's nonempty.

Replace the host. Does not validate the new host value if it's nonempty.

def port(p: Int): Authority

Replace the port.

Replace the port.

def port(p: Option[Int]): Authority

Replace the port.

Replace the port.

override def toString: String
Definition Classes
Any
def userInfo(username: String): Authority

Replace the user info with a username only.

Replace the user info with a username only.

def userInfo(username: String, password: String): Authority

Replace the user info with username/password combination.

Replace the user info with username/password combination.

def userInfo(ui: Option[UserInfo]): Authority

Replace the user info.

Replace the user info.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product