Class SplibWebConfig
java.lang.Object
jp.ecuacion.splib.web.config.SplibWebConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@ComponentScan(basePackages="jp.ecuacion.splib.core.config,jp.ecuacion.splib.web.advice,jp.ecuacion.splib.web.controller,jp.ecuacion.splib.web.service,jp.ecuacion.splib.web.util")
public class SplibWebConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Provides configs for web.
It also provides the feature to persist jsessionId to cookie to avoid jsessionId from emerging in url.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
SplibWebConfig
public SplibWebConfig()
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-