Deprecate HTTP client request connection handler #3212 - closes

This commit is contained in:
Julien Viet
2019-12-01 18:13:24 +01:00
parent ee7e9b6b1b
commit 89ad79797d
3 changed files with 5 additions and 3 deletions

View File

@@ -214,8 +214,8 @@ public class HTTP2Examples {
HttpConnection connection = request.connection();
}
public void example19(HttpClientRequest request) {
request.connectionHandler(connection -> {
public void example19(HttpClient client) {
client.connectionHandler(connection -> {
System.out.println("Connected to the server");
});
}