public abstract class SVCBBase extends Record
Modifier and Type | Class and Description |
---|---|
static class |
SVCBBase.ParameterAlpn |
static class |
SVCBBase.ParameterBase |
static class |
SVCBBase.ParameterEch |
static class |
SVCBBase.ParameterEchConfig
Deprecated.
|
static class |
SVCBBase.ParameterIpv4Hint |
static class |
SVCBBase.ParameterIpv6Hint |
static class |
SVCBBase.ParameterMandatory |
static class |
SVCBBase.ParameterNoDefaultAlpn |
static class |
SVCBBase.ParameterPort |
static class |
SVCBBase.ParameterUnknown |
Modifier and Type | Field and Description |
---|---|
static int |
ALPN |
static int |
ECH |
static int |
ECHCONFIG
Deprecated.
use
ECH |
static int |
IPV4HINT |
static int |
IPV6HINT |
static int |
MANDATORY |
static int |
NO_DEFAULT_ALPN |
static int |
PORT |
protected Map<Integer,SVCBBase.ParameterBase> |
svcParams |
protected int |
svcPriority |
protected Name |
targetName |
Modifier | Constructor and Description |
---|---|
protected |
SVCBBase() |
protected |
SVCBBase(Name name,
int type,
int dclass,
long ttl) |
protected |
SVCBBase(Name name,
int type,
int dclass,
long ttl,
int priority,
Name domain,
List<SVCBBase.ParameterBase> params) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkMandatoryParams() |
Set<Integer> |
getSvcParamKeys() |
SVCBBase.ParameterBase |
getSvcParamValue(int key) |
int |
getSvcPriority() |
Name |
getTargetName() |
protected void |
rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
protected void |
rrFromWire(DNSInput in)
Converts the type-specific RR to wire format - must be overridden
|
protected String |
rrToString()
Converts the type-specific RR to text format - must be overridden.
|
protected void |
rrToWire(DNSOutput out,
Compression c,
boolean canonical)
Converts the type-specific RR to wire format - must be overridden.
|
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, withName
protected int svcPriority
protected Name targetName
protected final Map<Integer,SVCBBase.ParameterBase> svcParams
public static final int MANDATORY
public static final int ALPN
public static final int NO_DEFAULT_ALPN
public static final int PORT
public static final int IPV4HINT
public static final int ECH
public static final int IPV6HINT
@Deprecated public static final int ECHCONFIG
ECH
protected SVCBBase()
protected SVCBBase(Name name, int type, int dclass, long ttl)
protected SVCBBase(Name name, int type, int dclass, long ttl, int priority, Name domain, List<SVCBBase.ParameterBase> params)
public int getSvcPriority()
public Name getTargetName()
public SVCBBase.ParameterBase getSvcParamValue(int key)
protected boolean checkMandatoryParams()
protected void rrFromWire(DNSInput in) throws IOException
Record
rrFromWire
in class Record
IOException
protected String rrToString()
Record
rrToString
in class Record
protected void rdataFromString(Tokenizer st, Name origin) throws IOException
Record
rdataFromString
in class Record
IOException
protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
Record
Copyright © 2022 dnsjava.org. All rights reserved.