@Configuration @EnableAspectJAutoProxy public class RestAopSpringModuleConfig extends Object
| Constructor and Description |
|---|
RestAopSpringModuleConfig() |
| Modifier and Type | Method and Description |
|---|---|
Object |
blockRestMethods(org.aspectj.lang.ProceedingJoinPoint pjp)
Around advice that blocks the methods configured to not be available.
|
void |
restMethods()
A pointcut for all herd rest methods.
|
public void restMethods()
public Object blockRestMethods(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
pjp - the proceeding join point.Throwable - if there were any problems executing the method.Copyright © 2019. All rights reserved.