
com.starmcc.qmframework.aop.QmControllerAgent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qm-framework Show documentation
Show all versions of qm-framework Show documentation
springboot based on a series of packaging framework.
QmFramework to implements AOP,
rewrite the requestBody,
global exception catching,version checking,
request body parameter symmetric encryption mechanism,
controller packaging and the toolkit collection.
thank you for using it.
package com.starmcc.qmframework.aop;
import org.aspectj.lang.JoinPoint;
/**
* 请求方法切入代理控制器
*
* @Author qm
* @Date 2019/1/7 0:57
*/
public interface QmControllerAgent {
/**
* 执行请求方法前执行该方法(前置增强)
*
* @param jp JoinPoint 切入点对象
*/
void before(JoinPoint jp);
/**
* 当请求方法执行完毕时执行该方法(后置增强)
*
* @param jp JoinPoint 切入点对象
* @param result 返回结果
* @param responseTime 响应时间
*/
void afterReturning(JoinPoint jp, Object result, Long responseTime);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy