test/jdk/java/net/httpclient/FlowAdapterPublisherTest.java
changeset 50681 4254bed3c09d
parent 49765 ee6f7a61f3a5
child 52121 934969c63223
child 56795 03ece2518428
equal deleted inserted replaced
50678:818a23db260c 50681:4254bed3c09d
   357 
   357 
   358         http2TestServer = new Http2TestServer("localhost", false, 0);
   358         http2TestServer = new Http2TestServer("localhost", false, 0);
   359         http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo");
   359         http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo");
   360         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/echo";
   360         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/echo";
   361 
   361 
   362         https2TestServer = new Http2TestServer("localhost", true, 0);
   362         https2TestServer = new Http2TestServer("localhost", true, sslContext);
   363         https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo");
   363         https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo");
   364         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/echo";
   364         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/echo";
   365 
   365 
   366         httpTestServer.start();
   366         httpTestServer.start();
   367         httpsTestServer.start();
   367         httpsTestServer.start();