URL

zio.http.URL
See theURL companion object
final case class URL(path: Path, kind: Location, queryParams: QueryParams, fragment: Option[Fragment])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def ++(that: URL): URL
def setHost(host: String): URL
def setPath(path: Path): URL
def setPath(path: String): URL
def setPort(port: Int): URL
def setQueryParams(queryParams: QueryParams): URL
def setQueryParams(queryParams: Map[String, Chunk[String]]): URL
def setQueryParams(queryParams: (String, Chunk[String])*): URL
def setScheme(scheme: Scheme): URL
def toJavaURI: URI

Returns a new java.net.URI representing this URL.

Returns a new java.net.URI representing this URL.

Attributes

def toJavaURL: Option[URL]

Returns a new java.net.URL only if this URL represents an absolute location.

Returns a new java.net.URL only if this URL represents an absolute location.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product