All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.starmcc.qmframework.aop.QmControllerAgent Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.0.1-RELEASE
Show newest version
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