test/jdk/java/net/httpclient/FlowAdapterSubscriberTest.java
changeset 50681 4254bed3c09d
parent 49765 ee6f7a61f3a5
child 52121 934969c63223
child 56795 03ece2518428
equal deleted inserted replaced
50678:818a23db260c 50681:4254bed3c09d
   532 
   532 
   533         http2TestServer = new Http2TestServer("localhost", false, 0);
   533         http2TestServer = new Http2TestServer("localhost", false, 0);
   534         http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo");
   534         http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo");
   535         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/echo";
   535         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/echo";
   536 
   536 
   537         https2TestServer = new Http2TestServer("localhost", true, 0);
   537         https2TestServer = new Http2TestServer("localhost", true, sslContext);
   538         https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo");
   538         https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo");
   539         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/echo";
   539         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/echo";
   540 
   540 
   541         httpTestServer.start();
   541         httpTestServer.start();
   542         httpsTestServer.start();
   542         httpsTestServer.start();