test/jdk/java/net/httpclient/ThrowingPushPromises.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56619 57f17e890a40
equal deleted inserted replaced
56770:f1626bc0a010 56771:73a6534bce94
   647         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   647         http2TestServer.addHandler(h2_fixedLengthHandler, "/http2/fixed");
   648         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   648         http2TestServer.addHandler(h2_chunkedHandler, "/http2/chunk");
   649         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   649         http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed/x";
   650         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   650         http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk/x";
   651 
   651 
   652         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
   652         https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
   653         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   653         https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed");
   654         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   654         https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk");
   655         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   655         https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed/x";
   656         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   656         https2URI_chunk = "https://" + https2TestServer.serverAuthority() + "/https2/chunk/x";
   657 
   657