Packages

class URL extends AnyRef

TODO similar wrapper kind as File should generate Input and Output

Source
url.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. URL
  2. AnyRef
  3. Any
Implicitly
  1. by richDrxAny
  2. by DrxURLToJava
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new URL(url: java.net.URL, props: Map[String, String] = Map.empty, postData: Option[Input] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(param: (Any, Any)): URL
  4. def **(moreParams: Iterable[(Any, Any)]): URL
  5. def **(optParam: Option[(Any, Any)]): URL
  6. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from URL toany2stringadd[URL] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  7. 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
    @inline()
  8. def /(filename: Symbol): URL
  9. def /(filename: String): URL
  10. def /(that: File): URL
  11. def ==(that: URL): Boolean
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def ^(kv: (String, String)): URL

    quickly add tuple headers with an operator instead of addHeader

  14. def addHeader(kvs: (String, String)*): URL
  15. 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
  16. 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
  17. def as[A](implicit cb: Connectable[A]): A
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def async[A](implicit cb: Connectable[A], ec: drx.ExecutionContext): drx.Future[A]
  20. def async[A](f: (Connection) => A)(implicit ec: drx.ExecutionContext): drx.Future[A]

    Ultra simple BUT blocking and many string assumptions

  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  22. 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
  23. 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
  24. def ensuring(cond: (URL) => Boolean, msg: => Any): URL
    Implicit
    This member is added by an implicit conversion from URL toEnsuring[URL] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: (URL) => Boolean): URL
    Implicit
    This member is added by an implicit conversion from URL toEnsuring[URL] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean, msg: => Any): URL
    Implicit
    This member is added by an implicit conversion from URL toEnsuring[URL] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): URL
    Implicit
    This member is added by an implicit conversion from URL toEnsuring[URL] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. def file: Option[File]
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  32. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from URL toStringFormat[URL] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. def get: Connection
  34. 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
  35. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. 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])
  37. 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])
  38. 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
  39. 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
  40. 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
  41. def getParam(key: String): Option[String]
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def host: String
  50. def href(ref: String): URL

    expand a full url from ahref from a url

  51. def in: Input
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. 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
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. 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])
  58. 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])
  59. 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])
  60. 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
  61. lazy val params: List[(String, String)]
  62. def path: Option[String]
  63. def port: Option[Int]
  64. val postData: Option[Input]
  65. 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
  66. val props: Map[String, String]
  67. def protocol: String

    Ultra simple BUT blocking and many many assumptions (strings return...)

  68. def query: Option[String]
  69. def ref: Option[String]
  70. 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
  71. 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
  72. 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
  73. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  74. 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
  75. 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
  76. def toJava: java.net.URL
  77. def toString(): String
    Definition Classes
    URL → AnyRef → Any
  78. 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])
  79. val url: java.net.URL
  80. def user: Option[String]
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. def ~(postFile: File): URL
  85. def ~(postData: Input): URL
  86. def ~(param: (Any, Any)): URL
  87. def ~(mime: Mime): URL
  88. def ~(token: Token): URL

Shadowed Implicit Value Members

  1. 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
  2. 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
  3. 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

  1. 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

  2. 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)

  3. 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.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromURL to DrxAny[URL]

Inherited by implicit conversion DrxURLToJava fromURL to java.net.URL

Inherited by implicit conversion any2stringadd fromURL to any2stringadd[URL]

Inherited by implicit conversion StringFormat fromURL to StringFormat[URL]

Inherited by implicit conversion Ensuring fromURL to Ensuring[URL]

Inherited by implicit conversion ArrowAssoc fromURL to ArrowAssoc[URL]

Ungrouped