public class DnsSRVLocator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DnsSRVLocator.DnsSRVResult |
static class |
DnsSRVLocator.SrvRecord
Holds information on a retrieved SRV record
|
Constructor and Description |
---|
DnsSRVLocator() |
Modifier and Type | Method and Description |
---|---|
URI |
constructURI(String protocol,
String address) |
DnsSRVLocator.DnsSRVResult |
getService(String dnsUrl) |
DnsSRVLocator.DnsSRVResult |
getService(String service,
String protocol,
String domain) |
DnsSRVLocator.DnsSRVResult |
getSRVResult(String[] recordsList) |
public static final String TCP
public static final String UDP
public DnsSRVLocator.DnsSRVResult getService(String service, String protocol, String domain) throws Exception
Exception
public DnsSRVLocator.DnsSRVResult getService(String dnsUrl) throws NamingException
NamingException
public DnsSRVLocator.DnsSRVResult getSRVResult(String[] recordsList)
public URI constructURI(String protocol, String address) throws URISyntaxException
URISyntaxException
Copyright © 2012. All Rights Reserved.