Host

object Host
Companion:
class
Source:
Forwarded.scala
class Object
trait Matchable
class Any
Host.type

Value members

Concrete methods

def fromHostAndPort(uriHost: Host, port: Int): ParseResult[Host]

Creates Host from Uri.Host and port number. Validates the latter and returns ParseFailure if it is invalid.

Creates Host from Uri.Host and port number. Validates the latter and returns ParseFailure if it is invalid.

Source:
Forwarded.scala

Parses host and optional port number from the given string according to RFC3986.

Parses host and optional port number from the given string according to RFC3986.

Source:
Forwarded.scala

Creates Host from Uri.host and Uri.port parts of the given Uri.

Creates Host from Uri.host and Uri.port parts of the given Uri.

Source:
Forwarded.scala
def ofHost(uriHost: Host): Host

Creates Host from Uri.Host. Assumes that the latter is always valid so no further validation is necessary.

Creates Host from Uri.Host. Assumes that the latter is always valid so no further validation is necessary.

Source:
Forwarded.scala

Concrete fields