Package org.springframework.web.servlet.resource

Examples of org.springframework.web.servlet.resource.ResourceHttpRequestHandler.afterPropertiesSet()


      for (String pathPattern : registration.getPathPatterns()) {
        ResourceHttpRequestHandler handler = registration.getRequestHandler();
        handler.setServletContext(this.servletContext);
        handler.setApplicationContext(this.appContext);
        try {
          handler.afterPropertiesSet();
        }
        catch (Exception e) {
          throw new BeanInitializationException("Failed to init ResourceHttpRequestHandler", e);
        }
        urlMap.put(pathPattern, handler);
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.