equal
deleted
inserted
replaced
227 http2TestServer = new Http2TestServer("localhost", false, 0); |
227 http2TestServer = new Http2TestServer("localhost", false, 0); |
228 http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo"); |
228 http2TestServer.addHandler(new Http2EchoHandler(), "/http2/echo"); |
229 int port = http2TestServer.getAddress().getPort(); |
229 int port = http2TestServer.getAddress().getPort(); |
230 http2URI = "http://localhost:" + port + "/http2/echo"; |
230 http2URI = "http://localhost:" + port + "/http2/echo"; |
231 |
231 |
232 https2TestServer = new Http2TestServer("localhost", true, 0); |
232 https2TestServer = new Http2TestServer("localhost", true, sslContext); |
233 https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo"); |
233 https2TestServer.addHandler(new Http2EchoHandler(), "/https2/echo"); |
234 port = https2TestServer.getAddress().getPort(); |
234 port = https2TestServer.getAddress().getPort(); |
235 https2URI = "https://localhost:" + port + "/https2/echo"; |
235 https2URI = "https://localhost:" + port + "/https2/echo"; |
236 |
236 |
237 // Override the default exchange supplier with a custom one to enable |
237 // Override the default exchange supplier with a custom one to enable |