final case class IpV4(octet1: Byte, octet2: Byte, octet3: Byte, octet4: Byte)(implicit conf: UriConfig = UriConfig.default) extends Host with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IpV4
- Serializable
- Product
- Equals
- Host
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new IpV4(octet1: Byte, octet2: Byte, octet3: Byte, octet4: Byte)(implicit conf: UriConfig = UriConfig.default)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apexDomain(implicit jsonSupport: JsonSupport): Option[String]
Returns the apex domain for this Host.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val conf: UriConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def longestSubdomain(implicit jsonSupport: JsonSupport): Option[String]
Returns the longest subdomain for this URL's host.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val octet1: Byte
- def octet1Int: Int
- val octet2: Byte
- def octet2Int: Int
- val octet3: Byte
- def octet3Int: Int
- val octet4: Byte
- def octet4Int: Int
- def octets: Vector[Byte]
- def octetsInt: Vector[Int]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def publicSuffix(implicit jsonSupport: JsonSupport): Option[String]
Returns the longest public suffix for the host in this URI.
- def publicSuffixes(implicit jsonSupport: JsonSupport): Vector[String]
Returns all longest public suffixes for the host in this URI.
- def shortestSubdomain(implicit jsonSupport: JsonSupport): Option[String]
Returns the shortest subdomain for this URL's host.
- def subdomain(implicit jsonSupport: JsonSupport): Option[String]
Returns the second largest subdomain for this URL's host.
Returns the second largest subdomain for this URL's host.
E.g. for http://a.b.c.example.com returns a.b.c
Note: In the event there is only one subdomain (i.e. the host is the apex domain), this method returns
None
. E.g. This method will returnNone
forhttp://example.com
.- returns
the second largest subdomain for this URL's host
- def subdomains(implicit jsonSupport: JsonSupport): Vector[String]
Returns all subdomains for this URL's host.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Host → AnyRef → Any
- def toStringPunycode: String
- def value: 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()