Package com.aquima.web.boot
Class DefaultConfig
java.lang.Object
com.aquima.web.boot.DefaultConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@EnableWebMvc
@DefaultConfiguration(basePackages={"com.aquima.web","com.blueriq.component.**.config","com.blueriq.plugin.**.config","com.aquima.plugin.**.config"})
@ImportResource("classpath*:aquima-plugin-default-context.xml")
public class DefaultConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Default servlet configuration class. Static resources are mapped under this servlet.
- Since:
- 10.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The ID of the application context of the default servlet: "blueriq-default"static final String
The URL mapping for the default servlet: "/*".static final String
The name of the default servlet: "blueriq-default"static final String
The servlet path of the default servlet: "" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
addViewControllers
(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) org.springframework.web.servlet.handler.MappedInterceptor
org.springframework.web.servlet.handler.MappedInterceptor
org.springframework.web.servlet.handler.MappedInterceptor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Field Details
-
CONTEXT_ID
The ID of the application context of the default servlet: "blueriq-default"- See Also:
-
SERVLET_MAPPING
The URL mapping for the default servlet: "/*".- See Also:
-
SERVLET_PATH
The servlet path of the default servlet: ""- See Also:
-
SERVLET_NAME
The name of the default servlet: "blueriq-default"- See Also:
-
-
Constructor Details
-
DefaultConfig
public DefaultConfig()
-
-
Method Details
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addViewControllers
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) - Specified by:
addViewControllers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry) - Specified by:
addFormatters
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
mappedResourceSecurityInterceptor
@Bean public org.springframework.web.servlet.handler.MappedInterceptor mappedResourceSecurityInterceptor() -
mappedHttpSecurityInterceptor
@Bean public org.springframework.web.servlet.handler.MappedInterceptor mappedHttpSecurityInterceptor() -
mappedXssUrlSecurityInterceptor
@Bean public org.springframework.web.servlet.handler.MappedInterceptor mappedXssUrlSecurityInterceptor()
-