private void handleForceDeviceClass( ResolverContext context, HttpServletResponse response, ExtendedMap formItems) { ForcedResolverValueLifetimeSettings forcedDeviceClassSetting = getForcedDeviceClassSetting(formItems, ForcedResolverValueLifetimeSettings.permanent); String deviceClass = formItems.getString(FORM_ITEM_DEVICE_CLASS); deviceClassResolverService.setForcedDeviceClass( context, response, forcedDeviceClassSetting, deviceClass); }
private void handleResetDeviceClass(ResolverContext context, HttpServletResponse response) { deviceClassResolverService.resetDeviceClass(context, response); }