UriBuilder

scamper.http.UriBuilder
class UriBuilder(uri: Uri)

Defines URI builder.

Attributes

Constructor

Creates builder initialized to supplied URI.

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this()

Creates builder.

Creates builder.

Attributes

Concrete methods

def authority(value: String): UriBuilder.this.type

Sets authority.

Sets authority.

Attributes

def authority(value: Option[String]): UriBuilder.this.type

Sets authority.

Sets authority.

Attributes

def authority(host: String, port: Int): UriBuilder.this.type

Sets authority.

Sets authority.

Attributes

def authority(host: String, port: Option[Int]): UriBuilder.this.type

Sets authority.

Sets authority.

Attributes

def clear(): UriBuilder.this.type

Clears previously set values.

Clears previously set values.

Attributes

def fragment(value: String): UriBuilder.this.type

Sets fragment.

Sets fragment.

Attributes

def fragment(value: Option[String]): UriBuilder.this.type

Sets fragment.

Sets fragment.

Attributes

def path(value: String): UriBuilder.this.type

Sets path.

Sets path.

Attributes

def query(value: QueryString): UriBuilder.this.type

Sets query.

Sets query.

Attributes

def scheme(value: String): UriBuilder.this.type

Sets scheme.

Sets scheme.

Attributes

def scheme(value: Option[String]): UriBuilder.this.type

Sets scheme.

Sets scheme.

Attributes

def toUri: Uri

Creates URI from currently set values.

Creates URI from currently set values.

Attributes