All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.littleshoot.proxy.DnsSecServerResolver Maven / Gradle / Ivy

Go to download

LittleProxy is a high performance HTTP proxy written in Java and using the Netty networking framework.

There is a newer version: 1.1.2
Show newest version
package org.littleshoot.proxy;

import java.net.InetSocketAddress;
import java.net.UnknownHostException;

import org.littleshoot.dnssec4j.VerifiedAddressFactory;

public class DnsSecServerResolver implements HostResolver {
    @Override
    public InetSocketAddress resolve(String host, int port)
            throws UnknownHostException {
        return VerifiedAddressFactory.newInetSocketAddress(host, port, true);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy