I am using below code
URL obj = new URL("https://www.example.com/profile");
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(Ip, port));
HttpsURLConnection con = (HttpsURLConnection) obj.openConnection(proxy);
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
But I am not able to get data from web page. Please suggest how can I use the Proxy to fetch data from Https urls.
Thanks in advance.