test/jdk/java/net/httpclient/FlowAdapterPublisherTest.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56451 9585061fdb04
child 56795 03ece2518428
equal deleted inserted replaced
56770:f1626bc0a010 56771:73a6534bce94
   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();