import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

import jdk.incubator.http.*;

public class JI9050705 {

	public static void main(String[] args) throws URISyntaxException, IOException, InterruptedException {
		System.setProperty("http.proxyHost", "www-proxy.idc.oracle.com"); 
		System.setProperty("http.proxyPort", "80");
		 HttpRequest request = HttpRequest.newBuilder() 
	                .uri(new URI("https://httpbin.org")) 
	                .GET() 
	                .build(); 
		 HttpClient.newHttpClient().send(request, HttpResponse.BodyHandler.asString());
		 HttpResponse<String> response = client.send(request, HttpResponse.BodyHandler.asString());

	}

}
