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

cn.potato.web.Interceptor Maven / Gradle / Ivy

Go to download

以约定优于配置的思想,结合SpringMVC的一些优点(参数自动注入),实现一个自己的简单MVC框架。

The newest version!
package cn.potato.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;

/**
 * 拦截器接口
 * @author 李恒名
 * @since 2016年3月4日
 */
public interface Interceptor {
	    void before(HttpServletRequest request,HttpServletResponse response,Method controMethod);
	    void after(HttpServletRequest request,HttpServletResponse response,Object result);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy