Fix Java and Jetty deprecations (#10349)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -62,7 +62,7 @@ public class DaikinHttpClientFactoryImpl implements DaikinHttpClientFactory {
|
||||
|
||||
private synchronized void initialize() {
|
||||
if (httpClient == null) {
|
||||
httpClient = new HttpClient(new SslContextFactory(true));
|
||||
httpClient = new HttpClient(new SslContextFactory.Client(true));
|
||||
try {
|
||||
httpClient.start();
|
||||
logger.debug("Daikin http client started");
|
||||
|
||||
Reference in New Issue
Block a user