Class DefaultFindSliceReactiveInterceptor

  • All Implemented Interfaces:
    io.micronaut.data.intercept.DataInterceptor<java.lang.Object,​java.lang.Object>, io.micronaut.data.intercept.reactive.FindSliceReactiveInterceptor<java.lang.Object,​java.lang.Object>

    public class DefaultFindSliceReactiveInterceptor
    extends AbstractPublisherInterceptor
    implements io.micronaut.data.intercept.reactive.FindSliceReactiveInterceptor<java.lang.Object,​java.lang.Object>
    Default implementation of FindSliceReactiveInterceptor.
    Since:
    1.0.0
    • Constructor Detail

      • DefaultFindSliceReactiveInterceptor

        protected DefaultFindSliceReactiveInterceptor​(@NonNull
                                                      io.micronaut.data.operations.RepositoryOperations operations)
        Default constructor.
        Parameters:
        operations - The operations
    • Method Detail

      • interceptPublisher

        public org.reactivestreams.Publisher<?> interceptPublisher​(io.micronaut.data.intercept.RepositoryMethodKey methodKey,
                                                                   io.micronaut.aop.MethodInvocationContext<java.lang.Object,​java.lang.Object> context)
        Description copied from class: AbstractPublisherInterceptor
        Intercept publisher.
        Specified by:
        interceptPublisher in class AbstractPublisherInterceptor
        Parameters:
        methodKey - The method key
        context - The context
        Returns:
        the result publisher