2424import com .rusticisoftware .tincan .documents .Document ;
2525import com .rusticisoftware .tincan .documents .StateDocument ;
2626import com .rusticisoftware .tincan .exceptions .*;
27+ import com .rusticisoftware .tincan .lrsresponses .*;
2728import com .rusticisoftware .tincan .http .HTTPRequest ;
2829import com .rusticisoftware .tincan .http .HTTPResponse ;
2930import com .rusticisoftware .tincan .json .Mapper ;
3031import com .rusticisoftware .tincan .json .StringOfJSON ;
31- import com .rusticisoftware .tincan .lrsresponses .*;
3232import com .rusticisoftware .tincan .v10x .StatementsQuery ;
3333import org .eclipse .jetty .client .api .ContentResponse ;
3434import org .eclipse .jetty .client .api .Request ;
3535import org .eclipse .jetty .client .api .Response ;
36+ import org .eclipse .jetty .client .HttpClient ;
3637import org .eclipse .jetty .client .util .BytesContentProvider ;
3738import org .eclipse .jetty .http .HttpField ;
3839import org .eclipse .jetty .http .HttpMethod ;
39- import org .eclipse .jetty .client . HttpClient ;
40+ import org .eclipse .jetty .util . ssl . SslContextFactory ;
4041import lombok .Data ;
4142import lombok .NoArgsConstructor ;
4243
@@ -59,7 +60,7 @@ public class RemoteLRS implements LRS {
5960 private static HttpClient _httpClient ;
6061 private static HttpClient httpClient () throws Exception {
6162 if (_httpClient == null ) {
62- _httpClient = new HttpClient ();
63+ _httpClient = new HttpClient (new SslContextFactory () );
6364 _httpClient .setConnectTimeout (TIMEOUT_CONNECT );
6465 _httpClient .start ();
6566 }
0 commit comments