test/jdk/java/net/httpclient/ThrowingSubscribers.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56763 25821dd1d917
equal deleted inserted replaced
56770:f1626bc0a010 56771:73a6534bce94
   677         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   677         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   678         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   678         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   679         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   679         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   680         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   680         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   681 
   681 
   682         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
   682         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
   683         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   683         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   684         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   684         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   685         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   685         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   686         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   686         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   687 
   687