Proxy Configuration Examples – Java

You can use below example code to access to the service.

import org.apache.http.HttpHost;
import org.apache.http.client.fluent.*;

public class Example {
    public static void main(String[] args) throws Exception {
        HttpHost proxy = new HttpHost("p.proxyegg.com", 8080);
        String res = Executor.newInstance()
            .auth(proxy, "username", "password")
            .execute(Request.Get("http://http://api.ipify.org/").viaProxy(proxy))
            .returnContent().asString();
        System.out.println(res);
    }
}

IP Rotating Proxy Onsale

SPECIAL LIMITED TIME OFFER

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds
First month free with coupon code FREE30