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

plus.extvos.restlet.handler.RestletInterceptor Maven / Gradle / Ivy

The newest version!
package plus.extvos.restlet.handler;

import org.springframework.lang.Nullable;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Mingcai SHEN
 */
public class RestletInterceptor implements HandlerInterceptor {
    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
        throws Exception {

        return true;
    }

    @Override
    public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,
                           @Nullable ModelAndView modelAndView) throws Exception {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy