test/jdk/java/net/httpclient/ThrowingPublishers.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56695 d219df0c7d24
equal deleted inserted replaced
56770:f1626bc0a010 56771:73a6534bce94
   619         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   619         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   620         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   620         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   621         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   621         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   622         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   622         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   623 
   623 
   624         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
   624         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
   625         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   625         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   626         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   626         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   627         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   627         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   628         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   628         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   629 
   629