Class WebMvcNotificationResponseService
java.lang.Object
net.croz.nrich.notification.service.WebMvcNotificationResponseService
- All Implemented Interfaces:
net.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>,net.croz.nrich.notification.api.service.NotificationResponseService
public class WebMvcNotificationResponseService
extends Object
implements net.croz.nrich.notification.api.service.NotificationResponseService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.croz.nrich.notification.api.service.NotificationResolverServicenet.croz.nrich.notification.api.response.NotificationResponseresponseWithExceptionNotification(Throwable throwable, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) <D> net.croz.nrich.notification.api.response.NotificationDataResponse<D>responseWithNotification(D data, String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.response.NotificationResponseresponseWithNotification(String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) <D> net.croz.nrich.notification.api.response.NotificationDataResponse<D>responseWithNotificationActionResolvedFromRequest(D data, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.response.NotificationResponseresponseWithNotificationActionResolvedFromRequest(net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.response.NotificationResponseresponseWithValidationFailureNotification(jakarta.validation.ConstraintViolationException exception, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.response.NotificationResponseresponseWithValidationFailureNotification(org.springframework.validation.Errors errors, Class<?> validationFailedOwningType, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
responseWithExceptionNotification, responseWithNotification, responseWithNotificationActionResolvedFromRequest, responseWithValidationFailureNotification, responseWithValidationFailureNotificationMethods inherited from interface net.croz.nrich.notification.api.service.NotificationResponseService
responseWithNotification, responseWithNotificationActionResolvedFromRequest
-
Constructor Details
-
WebMvcNotificationResponseService
public WebMvcNotificationResponseService()
-
-
Method Details
-
responseWithValidationFailureNotification
public net.croz.nrich.notification.api.response.NotificationResponse responseWithValidationFailureNotification(org.springframework.validation.Errors errors, Class<?> validationFailedOwningType, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithValidationFailureNotificationin interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-
responseWithValidationFailureNotification
public net.croz.nrich.notification.api.response.NotificationResponse responseWithValidationFailureNotification(jakarta.validation.ConstraintViolationException exception, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithValidationFailureNotificationin interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-
responseWithExceptionNotification
public net.croz.nrich.notification.api.response.NotificationResponse responseWithExceptionNotification(Throwable throwable, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithExceptionNotificationin interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-
responseWithNotificationActionResolvedFromRequest
public net.croz.nrich.notification.api.response.NotificationResponse responseWithNotificationActionResolvedFromRequest(net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithNotificationActionResolvedFromRequestin interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-
responseWithNotification
public net.croz.nrich.notification.api.response.NotificationResponse responseWithNotification(String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithNotificationin interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-
responseWithNotificationActionResolvedFromRequest
public <D> net.croz.nrich.notification.api.response.NotificationDataResponse<D> responseWithNotificationActionResolvedFromRequest(D data, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithNotificationActionResolvedFromRequestin interfacenet.croz.nrich.notification.api.service.NotificationResponseService
-
responseWithNotification
public <D> net.croz.nrich.notification.api.response.NotificationDataResponse<D> responseWithNotification(D data, String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
responseWithNotificationin interfacenet.croz.nrich.notification.api.service.NotificationResponseService
-
notificationResolverService
public net.croz.nrich.notification.api.service.NotificationResolverService notificationResolverService()- Specified by:
notificationResolverServicein interfacenet.croz.nrich.notification.api.service.BaseNotificationResponseService<net.croz.nrich.notification.api.response.NotificationResponse>
-