class URL extends AnyRef
- Alphabetic
- By Inheritance
- URL
- AnyRef
- Any
- by richDrxAny
- by DrxURLToJava
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new URL(url: java.net.URL, props: Map[String, String] = Map.empty, postData: Option[Input] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(param: (Any, Any)): URL
- def **(moreParams: Iterable[(Any, Any)]): URL
- def **(optParam: Option[(Any, Any)]): URL
- def +(other: String): String
- def ->[B](y: B): (URL, B)
- def /(filename: Symbol): URL
- def /(filename: String): URL
- def /(that: File): URL
- def ==(that: URL): Boolean
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ^(kv: (String, String)): URL
quickly add tuple headers with an operator instead of addHeader
- def addHeader(kvs: (String, String)*): URL
- def applyIf(t: Boolean, f: (URL) => URL): URL
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (URL) => Boolean)(f: (URL) => URL): URL
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def as[A](implicit cb: Connectable[A]): A
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def async[A](implicit cb: Connectable[A], ec: drx.ExecutionContext): drx.Future[A]
- def async[A](f: (Connection) => A)(implicit ec: drx.ExecutionContext): drx.Future[A]
Ultra simple BUT blocking and many string assumptions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy(protocol: String = protocol, user: Option[String] = user, host: String = host, port: Option[Int] = port, path: Option[String] = path, query: Option[String] = query, props: Map[String, String] = props, postData: Option[Input] = postData): URL
- def elementOf(xs: Set[URL]): Boolean
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (URL) => Boolean, msg: => Any): URL
- def ensuring(cond: (URL) => Boolean): URL
- def ensuring(cond: Boolean, msg: => Any): URL
- def ensuring(cond: Boolean): URL
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def file: Option[File]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- def get: Connection
- def getAuthority(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getContent(arg0: Array[Class[_ <: AnyRef]]): AnyRef
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.io.IOException])
- final def getContent(): AnyRef
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.io.IOException])
- def getDefaultPort(): Int
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getFile(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getHost(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getParam(key: String): Option[String]
- def getPath(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getPort(): Int
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getProtocol(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getQuery(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getRef(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def getUserInfo(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def host: String
- def href(ref: String): URL
expand a full url from ahref from a url
- def in: Input
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (URL) => Boolean): Option[URL]
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def openConnection(arg0: Proxy): URLConnection
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.io.IOException])
- def openConnection(): URLConnection
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.io.IOException])
- final def openStream(): InputStream
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.io.IOException])
- def optionIf(f: (URL) => Boolean): Option[URL]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- lazy val params: List[(String, String)]
- def path: Option[String]
- def port: Option[Int]
- val postData: Option[Input]
- def preApply[B](f: (URL) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val props: Map[String, String]
- def protocol: String
Ultra simple BUT blocking and many many assumptions (strings return...)
- def query: Option[String]
- def ref: Option[String]
- def sameFile(arg0: java.net.URL): Boolean
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def sideEffect(f: (URL) => Unit): URL
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (URL) => Boolean): Option[URL]
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: URL
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toExternalForm(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- def toJava: java.net.URL
- def toString(): String
- Definition Classes
- URL → AnyRef → Any
- def toURI(): URI
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Definition Classes
- URL
- Annotations
- @throws(classOf[java.net.URISyntaxException])
- val url: java.net.URL
- def user: Option[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def ~(postFile: File): URL
- def ~(postData: Input): URL
- def ~(param: (Any, Any)): URL
- def ~(mime: Mime): URL
- def ~(token: Token): URL
Shadowed Implicit Value Members
- def equals(arg0: AnyRef): Boolean
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(uRL: java.net.URL).equals(arg0)
- Definition Classes
- URL → AnyRef → Any
- def hashCode(): Int
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(uRL: java.net.URL).hashCode()
- Definition Classes
- URL → AnyRef → Any
- def toString(): String
- Implicit
- This member is added by an implicit conversion from URL tojava.net.URL performed by method DrxURLToJava in cc.drx.predef.Conversions.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(uRL: java.net.URL).toString()
- Definition Classes
- URL → AnyRef → Any
Deprecated Value Members
- def ?>(f: (URL) => Boolean): Option[URL]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (URL) => B): B
- Implicit
- This member is added by an implicit conversion from URL toDrxAny[URL] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (URL, B)
- Implicit
- This member is added by an implicit conversion from URL toArrowAssoc[URL] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.