public final class DNSRequest extends Object
Modifier and Type | Field and Description |
---|---|
static int |
A
The record types for the lookups
|
static int |
AAAA |
static int |
MX |
static int |
PTR |
static int |
SPF |
static int |
TXT |
Constructor and Description |
---|
DNSRequest(String hostname,
int recordType) |
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
Return the hostname to process the request for
|
int |
getRecordType()
Return the RecordType which is use for this request
|
String |
toString() |
public static final int A
public static final int AAAA
public static final int MX
public static final int PTR
public static final int TXT
public static final int SPF
public DNSRequest(String hostname, int recordType) throws NoneException
NoneException
public final String getHostname()
public final int getRecordType()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.