Example usage for Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistry fields, constructors, methods, implement or subclass
The text is from its open source code.
ResourceHandlerRegistration | addResourceHandler(String... pathPatterns) Add a resource handler for serving static resources based on the specified URL path patterns. |
boolean | hasMappingForPattern(String pathPattern) Whether a resource handler has already been registered for the given path pattern. |
ResourceHandlerRegistry | setOrder(int order) Specify the order to use for resource handling relative to other HandlerMapping HandlerMappings configured in the Spring MVC application context. |