Class SrvRecord
java.lang.Object
org.exoplatform.services.organization.idm.ldap.SrvRecord
A single DNS SRV record, as returned for a name such as
_ldap._tcp.example.com, in the RFC 2782 wire format:
<priority> <weight> <port> <target>.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SrvRecord
-
-
Method Details
-
parse
Parses a single SRV record value as returned by the JNDI DNS provider, e.g."10 60 389 dc1.example.com.".- Parameters:
value- the raw SRV attribute value- Returns:
- the parsed record, or
nullif the value could not be parsed
-
getPriority
public int getPriority() -
getWeight
public int getWeight() -
getPort
public int getPort() -
getTarget
-
toUrl
-
toString
-