@Configuration
@MapperScan(value="com.zgeo.web.Mapper")
@ComponentScan(value="com.zgeo.web.Service")
public class BrowserConfig
extends java.lang.Object
构造器和说明 |
---|
BrowserConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
applicationReadyEvent()
项目启动后自动打开页面
|
org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> |
filterRegistrationBean()
设置web过滤器
|
org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> |
filterRegistrationBean1()
设置SQL注入过滤器
|
org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> |
filterRegistrationBean2()
设置XSS过滤器
|
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> filterRegistrationBean()
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> filterRegistrationBean1()
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> filterRegistrationBean2()
@EventListener(value=org.springframework.boot.context.event.ApplicationReadyEvent.class) public void applicationReadyEvent()