org.littleshoot.proxy.HostResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of littleproxy Show documentation
Show all versions of littleproxy Show documentation
LittleProxy is a high performance HTTP proxy written in Java and using the Netty networking framework.
The newest version!
package org.littleshoot.proxy;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
/**
* Resolves host and port into an InetSocketAddress.
*/
public interface HostResolver {
InetSocketAddress resolve(String host, int port) throws UnknownHostException;
}