@Override
    protected String rrToString() {
        StringBuilder sb = new StringBuilder();
        sb.append(svcPriority);
        sb.append(" ");
        sb.append(targetName);
        for (Integer key : svcParams.keySet()) {
            sb.append(" ");
            sb.append(parameters.getText(key));
            ParameterBase param = svcParams.get(key);
            String value = param.toString();
            if (value != null && !value.isEmpty()) {
                sb.append("=");
                sb.append(value);
            }
        }
        return sb.toString();
    }
Implements common functionality for SVCB and HTTPS records
src/main/java/core/org/xbill/DNS/SVCBBase.java