final case class URL(path: Path, kind: Location = URL.Location.Relative, queryParams: QueryParams = QueryParams.empty, fragment: Option[Fragment] = None) extends Product with Serializable
- Self Type
- URL
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- URL
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new URL(path: Path, kind: Location = URL.Location.Relative, queryParams: QueryParams = QueryParams.empty, fragment: Option[Fragment] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(that: URL): URL
A right-biased way of combining two URLs.
A right-biased way of combining two URLs. Where it makes sense, information will be merged, but in cases where this does not make sense (e.g. two non-empty fragments), the information from the right URL will be used.
- def /(segment: String): URL
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def absolute(scheme: Scheme, host: String, port: Int): URL
- def absolute(host: String): URL
- def addLeadingSlash: URL
- def addPath(path: String): URL
- def addPath(path: Path): URL
- def addQueryParams(queryParams: QueryParams): URL
- def addTrailingSlash: URL
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def dropLeadingSlash: URL
- def dropTrailingSlash: URL
- def encode: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- URL → Equals → AnyRef → Any
- val fragment: Option[Fragment]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- URL → AnyRef → Any
- def host(host: String): URL
- def host: Option[String]
- def hostPort: Option[String]
- def isAbsolute: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRelative: Boolean
- val kind: Location
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalize: URL
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def path(path: String): URL
- def path(path: Path): URL
- val path: Path
- def port: Option[Int]
- def port(port: Int): URL
- def portIfNotDefault: Option[Int]
- def portOrDefault: Int
- def queryParams(query: String): URL
- def queryParams(queryParams: (String, Chunk[String])*): URL
- def queryParams(queryParams: Map[String, Chunk[String]]): URL
- def queryParams(queryParams: QueryParams): URL
- val queryParams: QueryParams
- def relative: URL
- def scheme(scheme: Scheme): URL
- def scheme: Option[Scheme]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJavaURI: URI
Returns a new java.net.URI representing this URL.
-
def
toJavaURL: Option[java.net.URL]
Returns a new java.net.URL only if this URL represents an absolute location.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )