public class SwaggerWebMvcConfigurer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
SwaggerWebMvcConfigurer(org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters,
SwaggerIndexTransformer swaggerIndexTransformer,
Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider,
SwaggerResourceResolver swaggerResourceResolver)
Instantiates a new Swagger web mvc configurer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> returnValueHandlers) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
void |
configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) |
void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
void |
configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
void |
configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) |
void |
configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry) |
void |
extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) |
void |
extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.validation.MessageCodesResolver |
getMessageCodesResolver() |
org.springframework.validation.Validator |
getValidator() |
public SwaggerWebMvcConfigurer(org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters,
SwaggerIndexTransformer swaggerIndexTransformer,
Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider,
SwaggerResourceResolver swaggerResourceResolver)
swaggerUiConfigParameters - the swagger ui calculated configswaggerIndexTransformer - the swagger index transformeractuatorProvider - the actuator providerswaggerResourceResolver - the swagger resource resolverpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
configurePathMatch in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer)
configureAsyncSupport in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry)
configureViewResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> returnValueHandlers)
addReturnValueHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
configureHandlerExceptionResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
extendHandlerExceptionResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Nullable public org.springframework.validation.Validator getValidator()
getValidator in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Nullable public org.springframework.validation.MessageCodesResolver getMessageCodesResolver()
getMessageCodesResolver in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2024. All rights reserved.