ResourcesConfig

@Configuration
open class ResourcesConfig : WebMvcConfigurer

The ResourceConfigs class is useful to set the configuration of the resources to correctly serve the images by the server

Author

N7ghtm4r3 - Tecknobit

See also

WebMvcConfigurer

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addArgumentResolvers(resolvers: List<HandlerMethodArgumentResolver>)
Link copied to clipboard
open fun addCorsMappings(registry: CorsRegistry)
Link copied to clipboard
open fun addFormatters(registry: FormatterRegistry)
Link copied to clipboard
open fun addInterceptors(registry: InterceptorRegistry)
Link copied to clipboard
open fun addResourceHandlers(registry: ResourceHandlerRegistry)
Add handlers to serve static resources such as images, js, and, css files from specific locations under web application root, the classpath, and others.
Link copied to clipboard
open fun addReturnValueHandlers(handlers: List<HandlerMethodReturnValueHandler>)
Link copied to clipboard
open fun addViewControllers(registry: ViewControllerRegistry)
Link copied to clipboard
open fun configureAsyncSupport(configurer: AsyncSupportConfigurer)
Link copied to clipboard
open fun configureContentNegotiation(configurer: ContentNegotiationConfigurer)
Link copied to clipboard
open fun configureDefaultServletHandling(configurer: DefaultServletHandlerConfigurer)
Link copied to clipboard
open fun configureHandlerExceptionResolvers(resolvers: List<HandlerExceptionResolver>)
Link copied to clipboard
open fun configureMessageConverters(converters: List<HttpMessageConverter<out Any>>)
Link copied to clipboard
open fun configurePathMatch(configurer: PathMatchConfigurer)
Link copied to clipboard
open fun configureViewResolvers(registry: ViewResolverRegistry)
Link copied to clipboard
open fun extendHandlerExceptionResolvers(resolvers: List<HandlerExceptionResolver>)
Link copied to clipboard
open fun extendMessageConverters(converters: List<HttpMessageConverter<out Any>>)
Link copied to clipboard
open fun getMessageCodesResolver(): MessageCodesResolver
Link copied to clipboard
open fun getValidator(): Validator