Package org.springframework.web

Examples of org.springframework.web.HttpRequestHandler.handleRequest()


    public boolean preHandle(HttpServletRequest request,
                             HttpServletResponse response, Object handler) throws IOException, ServletException {

        if (handler instanceof HttpRequestHandler) {
            HttpRequestHandler resourcehandler = ((HttpRequestHandler) handler);
            resourcehandler.handleRequest(request, response);
            //break interceptor chain
            return false;
        } else {
            LOGGER.warn("handler can not be cast to HttpRequestHandler. It is of class " +
                    handler.getClass().getCanonicalName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.