test/jdk/java/net/httpclient/AsFileDownloadTest.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56556 46bb98e9db71
child 56795 03ece2518428
equal deleted inserted replaced
56770:f1626bc0a010 56771:73a6534bce94
   301 
   301 
   302         http2TestServer = new Http2TestServer("localhost", false, 0);
   302         http2TestServer = new Http2TestServer("localhost", false, 0);
   303         http2TestServer.addHandler(new Http2FileDispoHandler(), "/http2/afdt");
   303         http2TestServer.addHandler(new Http2FileDispoHandler(), "/http2/afdt");
   304         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/afdt";
   304         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/afdt";
   305 
   305 
   306         https2TestServer = new Http2TestServer("localhost", true, 0);
   306         https2TestServer = new Http2TestServer("localhost", true, sslContext);
   307         https2TestServer.addHandler(new Http2FileDispoHandler(), "/https2/afdt");
   307         https2TestServer.addHandler(new Http2FileDispoHandler(), "/https2/afdt");
   308         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/afdt";
   308         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/afdt";
   309 
   309 
   310         httpTestServer.start();
   310         httpTestServer.start();
   311         httpsTestServer.start();
   311         httpsTestServer.start();