|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.littleshoot.dnssec4j.VerifiedAddressFactory
public class VerifiedAddressFactory
Class for creating addresses. This class is DNSSEC-aware, so will attempt to use DNSSEC if configured to do so.
| Constructor Summary | |
|---|---|
VerifiedAddressFactory()
|
|
| Method Summary | |
|---|---|
static InetSocketAddress |
newInetSocketAddress(String host,
int port)
Creates a new InetSocketAddress, verifying the host with DNSSEC if configured to do so. |
static InetSocketAddress |
newInetSocketAddress(String host,
int port,
boolean useDnsSec)
Creates a new InetSocketAddress, verifying the host with DNSSEC if configured to do so. |
static InetAddress |
newVerifiedInetAddress(String host,
boolean useDnsSec)
Creates a new InetSocket, verifying the host with DNSSEC if configured to do so. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VerifiedAddressFactory()
| Method Detail |
|---|
public static InetSocketAddress newInetSocketAddress(String host,
int port)
throws UnknownHostException
host - The host.port - The port.
UnknownHostException - If the host cannot be resolved.
public static InetSocketAddress newInetSocketAddress(String host,
int port,
boolean useDnsSec)
throws UnknownHostException
host - The host.port - The port.useDnsSec - Whether or not to use DNSSEC.
UnknownHostException - If the host cannot be resolved.
public static InetAddress newVerifiedInetAddress(String host,
boolean useDnsSec)
throws UnknownHostException
host - The host.useDnsSec - Whether or not to use DNSSEC.
InetAddress.
UnknownHostException - If the host cannot be resolved.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||