public class URIRecord extends Record
| Constructor and Description |
|---|
URIRecord(Name name,
int dclass,
long ttl,
int priority,
int weight,
java.lang.String target)
Creates a URI Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Returns the priority
|
java.lang.String |
getTarget()
Returns the target URI
|
int |
getWeight()
Returns the weight
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withNamepublic URIRecord(Name name, int dclass, long ttl, int priority, int weight, java.lang.String target)
priority - The priority of this URI. Records with lower priority
are preferred.weight - The weight, used to select between records at the same
priority.target - The host/port running the service