Packages

object Lookup extends Product with Serializable

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

Value Members

  1. def apply(serviceName: String, portName: Option[String], protocol: Option[String]): Lookup

    Create a service Lookup with serviceName, optional portName and optional protocol.

  2. def apply(serviceName: String): Lookup

    Create a service Lookup with only a serviceName.

    Create a service Lookup with only a serviceName. Use withPortName and withProtocol to provide optional portName and protocol

  3. def create(serviceName: String): Lookup

    Java API

    Java API

    Create a service Lookup with only a serviceName. Use withPortName and withProtocol to provide optional portName and protocol

  4. def isValidSrv(srv: String): Boolean

    Returns true if passed string conforms with SRV format.

    Returns true if passed string conforms with SRV format. Otherwise returns false.

  5. def parseSrv(str: String): Lookup

    Create a service Lookup from a string with format: _portName._protocol.serviceName.

    Create a service Lookup from a string with format: _portName._protocol.serviceName. (as specified by https://www.ietf.org/rfc/rfc2782.txt)

    If the passed string conforms with this format, a SRV Lookup is returned. The serviceName part must be a valid domain name.

    The string is parsed and dismembered to build a Lookup as following: Lookup(serviceName).withPortName(portName).withProtocol(protocol)

    Exceptions thrown

    IllegalArgumentException If the string doesn't not conform with the SRV format

    NullPointerException If the passed string is null