Packages

final case class Urn(path: UrnPath)(implicit config: UriConfig = UriConfig.default) extends Uri with Product with Serializable

Represents a URN. See RFC 2141 and RFC 8141

URNs will be in the form urn:nid:nss

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

Instance Constructors

  1. new Urn(path: UrnPath)(implicit config: UriConfig = UriConfig.default)

Type Members

  1. type Self = Urn
    Definition Classes
    UrnUri
  2. type SelfWithScheme = UrlWithoutAuthority
    Definition Classes
    UrnUri

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. implicit val config: UriConfig
    Definition Classes
    UrnUri
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def nid: String
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def nss: String
  16. val path: UrnPath
    Definition Classes
    UrnUri
  17. def schemeOption: Some[String]
    Definition Classes
    UrnUri
  18. def self: Self
    Definition Classes
    UrnUri
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toJavaURI: URI

    Converts to a java.net.URI

    Converts to a java.net.URI

    This involves a toString and URI.parse because the specific java.net.URI constructors do not deal properly with encoded elements

    returns

    a java.net.URI matching this io.lemonlabs.uri.Uri

    Definition Classes
    Uri
  21. def toString(): String
    Definition Classes
    Uri → AnyRef → Any
  22. def toStringRaw: String

    Returns the path with no encoders taking place (e.g.

    Returns the path with no encoders taking place (e.g. non ASCII characters will not be percent encoded)

    returns

    String containing the raw path for this Uri

    Definition Classes
    Uri
  23. def toUrl: Url
    Definition Classes
    UrnUri
  24. def toUrn: Urn
    Definition Classes
    UrnUri
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. def withScheme(scheme: String): UrlWithoutAuthority

    Converts this URN into a URL with the given scheme.

    Converts this URN into a URL with the given scheme. The NID and NSS will be made path segments of the URL.

    scheme

    the new scheme to set

    returns

    a new Uri with the specified scheme

    Definition Classes
    UrnUri

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Uri

Inherited from AnyRef

Inherited from Any

Ungrouped