public interface ReactiveValidator
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.concurrent.CompletionStage<T> |
validateCompletionStage(java.util.concurrent.CompletionStage<T> completionStage,
java.lang.Class<?>... groups)
Validate the given CompletionStage by returning a new CompletionStage that validates the emitted value.
|
<T> org.reactivestreams.Publisher<T> |
validatePublisher(org.reactivestreams.Publisher<T> publisher,
java.lang.Class<?>... groups)
Validate the given publisher by returning a new Publisher that validates each emitted value.
|
@NonNull <T> org.reactivestreams.Publisher<T> validatePublisher(@NonNull org.reactivestreams.Publisher<T> publisher, java.lang.Class<?>... groups)
ConstraintViolationException will be thrown.T - The generic typepublisher - The publishergroups - The groups@NonNull <T> java.util.concurrent.CompletionStage<T> validateCompletionStage(@NonNull java.util.concurrent.CompletionStage<T> completionStage, java.lang.Class<?>... groups)
ConstraintViolationException will be thrown.T - The generic typecompletionStage - The completion stagegroups - The groups