public class InterceptorUtil extends Object
| Constructor and Description |
|---|
InterceptorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <R,T> void |
afterFailedExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request,
Throwable throwable) |
static <R,T> void |
afterSuccessExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request,
T response) |
static <R,T> T |
beforeExecute(Collection<CommandInterceptor> commandInterceptors,
Command<R,T> command,
R request) |
static List<CommandInterceptor> |
getCommandInterceptors(org.springframework.context.ApplicationContext applicationContext) |
public static List<CommandInterceptor> getCommandInterceptors(org.springframework.context.ApplicationContext applicationContext)
public static <R,T> T beforeExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request)
public static <R,T> void afterSuccessExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request, T response)
public static <R,T> void afterFailedExecute(Collection<CommandInterceptor> commandInterceptors, Command<R,T> command, R request, Throwable throwable)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.