SNI is now supported in Jersey.
Issue-ID: POLICY-4474
Change-Id: I7e52aa5c632409422c11ad875cb70ce1324ab655
Signed-off-by: liamfallon <liam.fallon@est.tech>
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Nordix Foundation.
+ * Copyright (C) 2022-2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public MockServerRest(int restServerPort) {
this.restServerPort = restServerPort;
restServer = HttpServletServerFactoryInstance.getServerFactory().build("MockRestEndpoint", false, HOST,
- restServerPort, "/", false, false);
+ restServerPort, false, "/", false, false);
restServer.addServletClass(null, MockRestEndpoint.class.getName());
restServer.setSerializationProvider(GsonMessageBodyHandler.class.getName());
restServer.start();
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Nordix Foundation.
+ * Copyright (C) 2022-2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public MockServerRest(int restServerPort) {
this.restServerPort = restServerPort;
restServer = HttpServletServerFactoryInstance.getServerFactory().build("MockRestEndpoint", false, HOST,
- restServerPort, "/", false, false);
+ restServerPort, false, "/", false, false);
restServer.addServletClass(null, MockRestEndpoint.class.getName());
restServer.setSerializationProvider(GsonMessageBodyHandler.class.getName());
restServer.start();
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Nordix Foundation.
+ * Copyright (C) 2022-2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public MockServer(int restServerPort) {
this.restServerPort = restServerPort;
restServer = HttpServletServerFactoryInstance.getServerFactory().build("MockRestEndpoint", false, HOST,
- restServerPort, "/", false, false);
+ restServerPort, false, "/", false, false);
restServer.addServletClass(null, MockRestEndpoint.class.getName());
restServer.setSerializationProvider(GsonMessageBodyHandler.class.getName());
restServer.start();