Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistry fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistry fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.config.annotation ResourceHandlerRegistry.

The text is from its open source code.

Method

ResourceHandlerRegistrationaddResourceHandler(String... pathPatterns)
Add a resource handler for serving static resources based on the specified URL path patterns.
booleanhasMappingForPattern(String pathPattern)
Whether a resource handler has already been registered for the given path pattern.
ResourceHandlerRegistrysetOrder(int order)
Specify the order to use for resource handling relative to other HandlerMapping HandlerMappings configured in the Spring MVC application context.