spring-framework / org.springframework.web.servlet.config.annotation / WebMvcConfigurerAdapter

WebMvcConfigurerAdapter

abstract class WebMvcConfigurerAdapter : WebMvcConfigurer

An implementation of WebMvcConfigurer with empty methods allowing subclasses to override only the methods they're interested in.

Author
Rossen Stoyanchev

Since
3.1

Constructors

<init>

WebMvcConfigurerAdapter()

An implementation of WebMvcConfigurer with empty methods allowing subclasses to override only the methods they're interested in.

Functions

addArgumentResolvers

open fun addArgumentResolvers(argumentResolvers: MutableList<HandlerMethodArgumentResolver>): Unit

{@inheritDoc}

This implementation is empty.

addCorsMappings

open fun addCorsMappings(registry: CorsRegistry): Unit

{@inheritDoc}

This implementation is empty.

addFormatters

open fun addFormatters(registry: FormatterRegistry): Unit

{@inheritDoc}

This implementation is empty.

addInterceptors

open fun addInterceptors(registry: InterceptorRegistry): Unit

{@inheritDoc}

This implementation is empty.

addResourceHandlers

open fun addResourceHandlers(registry: ResourceHandlerRegistry): Unit

{@inheritDoc}

This implementation is empty.

addReturnValueHandlers

open fun addReturnValueHandlers(returnValueHandlers: MutableList<HandlerMethodReturnValueHandler>): Unit

{@inheritDoc}

This implementation is empty.

addViewControllers

open fun addViewControllers(registry: ViewControllerRegistry): Unit

{@inheritDoc}

This implementation is empty.

configureAsyncSupport

open fun configureAsyncSupport(configurer: AsyncSupportConfigurer): Unit

{@inheritDoc}

This implementation is empty.

configureContentNegotiation

open fun configureContentNegotiation(configurer: ContentNegotiationConfigurer): Unit

{@inheritDoc}

This implementation is empty.

configureDefaultServletHandling

open fun configureDefaultServletHandling(configurer: DefaultServletHandlerConfigurer): Unit

{@inheritDoc}

This implementation is empty.

configureHandlerExceptionResolvers

open fun configureHandlerExceptionResolvers(exceptionResolvers: MutableList<HandlerExceptionResolver>): Unit

{@inheritDoc}

This implementation is empty.

configureMessageConverters

open fun configureMessageConverters(converters: MutableList<HttpMessageConverter<*>>): Unit

{@inheritDoc}

This implementation is empty.

configurePathMatch

open fun configurePathMatch(configurer: PathMatchConfigurer): Unit

{@inheritDoc}

This implementation is empty.

configureViewResolvers

open fun configureViewResolvers(registry: ViewResolverRegistry): Unit

{@inheritDoc}

This implementation is empty.

extendHandlerExceptionResolvers

open fun extendHandlerExceptionResolvers(exceptionResolvers: MutableList<HandlerExceptionResolver>): Unit

{@inheritDoc}

This implementation is empty.

extendMessageConverters

open fun extendMessageConverters(converters: MutableList<HttpMessageConverter<*>>): Unit

{@inheritDoc}

This implementation is empty.

getMessageCodesResolver

open fun getMessageCodesResolver(): MessageCodesResolver

{@inheritDoc}

This implementation returns null.

getValidator

open fun getValidator(): Validator

{@inheritDoc}

This implementation returns null.