public class InterceptorUtil extends Object
| Constructor and Description |
|---|
InterceptorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <R,T> reactor.core.publisher.Mono<Long> |
afterFailedExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request,
Throwable throwable)
Execute afterFailedExecute() of all CommandInterceptors
|
static <R,T> reactor.core.publisher.Mono<Long> |
afterSuccessExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request,
T response)
Execute afterSuccessExecute() of all CommandInterceptors
|
static <R,T> reactor.core.publisher.Mono<T> |
beforeExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request)
Execute all beforeExecute() of all CommandInterceptors
|
static List<CommandInterceptor> |
getCommandInterceptors(org.springframework.context.ApplicationContext applicationContext)
GEt all CommandInterceptors in Spring ApplicationContext
|
public static List<CommandInterceptor> getCommandInterceptors(org.springframework.context.ApplicationContext applicationContext)
public static <R,T> reactor.core.publisher.Mono<T> beforeExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request)
public static <R,T> reactor.core.publisher.Mono<Long> afterSuccessExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request, T response)
public static <R,T> reactor.core.publisher.Mono<Long> afterFailedExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request, Throwable throwable)
Copyright © 2021. All rights reserved.