case class URL(protocol: Protocol = Protocol.Http, host: String = "localhost", port: Int = 80, path: Path = Path.empty, parameters: Parameters = Parameters.empty, fragment: Option[String] = None) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. URL
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new URL(protocol: Protocol = Protocol.Http, host: String = "localhost", port: Int = 80, path: Path = Path.empty, parameters: Parameters = Parameters.empty, fragment: Option[String] = None)

Type Members

  1. class URLParts extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def appendParam(key: String, value: String): URL
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asPath(includePort: Boolean = false): String

    Encodes this URL as a complete path.

    Encodes this URL as a complete path. This is primarily useful for caching to a file while avoiding duplicates with the same file name. For example:

    http://www.example.com/some/path/file.txt

    Would be encoded to:

    /www.example.com/some/path/file.txt

    includePort

    whether the port should be included as a part of the path. Defaults to false.

  7. lazy val base: String
  8. def clearParams(): URL
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. lazy val decoded: URLParts
  11. lazy val encoded: URLParts
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean
    Definition Classes
    URL → Equals → AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fragment: Option[String]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val host: String
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def param(key: String): Option[String]
  23. def paramList(key: String): List[String]
  24. val parameters: Parameters
  25. val path: Path
  26. val port: Int
  27. val protocol: Protocol
  28. def removeParam(key: String): URL
  29. def replaceBase(base: String): URL
  30. def replaceParam(key: String, values: List[String]): URL
  31. def replacePathAndParams(pathAndParams: String): URL
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    URL → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. def withFragment(fragment: String): URL
  38. def withParam(key: String, value: String, append: Boolean = true): URL
  39. def withParams(params: Map[String, String], append: Boolean = false): URL
  40. def withPart(part: String): URL
  41. def withPath(path: Path): URL
  42. def withPath(path: String, absolutize: Boolean = true): URL
  43. def withoutFragment(): URL

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped