Package org.xbill.DNS

Examples of org.xbill.DNS.URLRecord


        super(URLRecord.class);
    }

    @Override
    protected URLRecord createRecord(Name name, int dclass, long ttl, ObjectNode recordNode) {
        return new URLRecord(name, dclass, ttl,
                getNodeStringValue(recordNode, "template"));
    }
View Full Code Here


        Integer redirectType;
        try {
            redirectType = getNodeIntegerValue(recordNode, "redirectType");
        } catch (MissingFieldJsonDeserializationException e) {
            //For backward compatibility
            return new URLRecord(name, dclass, ttl, getNodeStringValue(recordNode, "template"));
        }
        return new URLRecord(name, dclass, ttl, getNodeStringValue(recordNode, "template"), redirectType);
    }
View Full Code Here

TOP

Related Classes of org.xbill.DNS.URLRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.