Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
ResourceHandlerRegistry |
ResourceHandlerRegistry.setOrder(int order)
Specify the order to use for resource handling relative to other
HandlerMappings
configured in the Spring MVC application context. |
Modifier and Type | Method and Description |
---|---|
void |
WebMvcConfigurerAdapter.addResourceHandlers(ResourceHandlerRegistry registry)
Deprecated.
Add handlers to serve static resources such as images, js, and, css
files from specific locations under web application root, the classpath,
and others.
|
protected void |
DelegatingWebMvcConfiguration.addResourceHandlers(ResourceHandlerRegistry registry) |
default void |
WebMvcConfigurer.addResourceHandlers(ResourceHandlerRegistry registry)
Add handlers to serve static resources such as images, js, and, css
files from specific locations under web application root, the classpath,
and others.
|
protected void |
WebMvcConfigurationSupport.addResourceHandlers(ResourceHandlerRegistry registry)
Override this method to add resource handlers for serving static resources.
|