Class/Object

io.youi.net

URL

Related Docs: object URL | package net

Permalink

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 Location with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Location, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. URL
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Location
  7. AnyRef
  8. 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)

    Permalink

Type Members

  1. class URLParts extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def appendParam(key: String, value: String): URL

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asPath(includePort: Boolean = false): String

    Permalink

    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

    Permalink
  8. def clearParams(): URL

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val decoded: URLParts

    Permalink
  11. lazy val encoded: URLParts

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    URL → Equals → AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fragment: Option[String]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. val host: String

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def param(key: String): Option[String]

    Permalink
  23. def paramList(key: String): List[String]

    Permalink
  24. val parameters: Parameters

    Permalink
  25. val path: Path

    Permalink
  26. val port: Int

    Permalink
  27. val protocol: Protocol

    Permalink
  28. def removeParam(key: String): URL

    Permalink
  29. def replaceBase(base: String): URL

    Permalink
  30. def replaceParam(key: String, values: List[String]): URL

    Permalink
  31. def replacePathAndParams(pathAndParams: String): URL

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    URL → AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withFragment(fragment: String): URL

    Permalink
  38. def withParam(key: String, value: String, append: Boolean = true): URL

    Permalink
  39. def withParams(params: Map[String, String], append: Boolean = false): URL

    Permalink
  40. def withPart(part: String): URL

    Permalink
  41. def withPath(path: Path): URL

    Permalink
  42. def withPath(path: String, absolutize: Boolean = true): URL

    Permalink
  43. def withoutFragment(): URL

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Location

Inherited from AnyRef

Inherited from Any

Ungrouped