Class DeviceRegistrationControllerImpl
java.lang.Object
org.eblocker.server.http.controller.impl.DeviceRegistrationControllerImpl
- All Implemented Interfaces:
DeviceRegistrationController
public class DeviceRegistrationControllerImpl
extends Object
implements DeviceRegistrationController
Interacts with the device registration portal.
-
Constructor Summary
ConstructorsConstructorDescriptionDeviceRegistrationControllerImpl(String fallbackProductId, String fallbackProductName, String fallbackProductFeatures, DeviceRegistrationProperties deviceRegistrationProperties, DeviceRegistrationClient deviceRegistrationClient, ProductInfoService productInfoService, ReminderService reminderService, RegistrationService registrationService, SslService sslService, SystemUpdater systemUpdater, ScheduledExecutorService executorService, ProductMigrationService productMigrationService, DataSource dataSource, CustomerInfoService customerInfoService, RegistrationServiceAvailabilityCheck registrationServiceAvailabilityCheck) -
Method Summary
Modifier and TypeMethodDescriptionlicenseNotValidAfter(org.restexpress.Request request, org.restexpress.Response response) register(org.restexpress.Request request, org.restexpress.Response response) registrationStatus(org.restexpress.Request request, org.restexpress.Response response) voidresetRegistration(org.restexpress.Request request, org.restexpress.Response response)
-
Constructor Details
-
DeviceRegistrationControllerImpl
@Inject public DeviceRegistrationControllerImpl(String fallbackProductId, String fallbackProductName, String fallbackProductFeatures, DeviceRegistrationProperties deviceRegistrationProperties, DeviceRegistrationClient deviceRegistrationClient, ProductInfoService productInfoService, ReminderService reminderService, RegistrationService registrationService, SslService sslService, SystemUpdater systemUpdater, ScheduledExecutorService executorService, ProductMigrationService productMigrationService, DataSource dataSource, CustomerInfoService customerInfoService, RegistrationServiceAvailabilityCheck registrationServiceAvailabilityCheck)
-
-
Method Details
-
registrationStatus
public DeviceRegistrationInfo registrationStatus(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
registrationStatusin interfaceDeviceRegistrationController
-
licenseNotValidAfter
public String licenseNotValidAfter(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
licenseNotValidAfterin interfaceDeviceRegistrationController
-
register
public DeviceRegistrationInfo register(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
registerin interfaceDeviceRegistrationController
-
resetRegistration
public void resetRegistration(org.restexpress.Request request, org.restexpress.Response response) throws IOException, InterruptedException - Specified by:
resetRegistrationin interfaceDeviceRegistrationController- Throws:
IOExceptionInterruptedException
-