程序包 io.nerv.config
类 WebConfigurer
java.lang.Object
io.nerv.config.WebConfigurer
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@ConditionalOnProperty(prefix="eva.license",
name="enable",
havingValue="true")
public class WebConfigurer
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) 配置license鉴权拦截器org.springframework.http.converter.HttpMessageConverter<String>从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
构造器详细资料
-
WebConfigurer
public WebConfigurer()
-
-
方法详细资料
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) 配置license鉴权拦截器- 指定者:
addInterceptors在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer- 参数:
registry-
-
responseBodyConverter
@Bean public org.springframework.http.converter.HttpMessageConverter<String> responseBodyConverter()
-