Fix Java and Jetty deprecations (#10349)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -149,7 +149,7 @@ public class InnogyWebSocket {
|
||||
}
|
||||
|
||||
WebSocketClient startWebSocketClient() throws Exception {
|
||||
WebSocketClient client = new WebSocketClient(new SslContextFactory());
|
||||
WebSocketClient client = new WebSocketClient(new SslContextFactory.Client());
|
||||
client.setMaxIdleTimeout(this.maxIdleTimeout);
|
||||
client.start();
|
||||
return client;
|
||||
|
||||
Reference in New Issue
Block a user