Host

org.http4s.headers.Forwarded$.Host$
See theHost companion class
object Host

Attributes

Companion:
class
Source:
Forwarded.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Host.type

Members list

Concise view

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Source:
Forwarded.scala

Concrete fields

Attributes

Source:
Forwarded.scala