838 Star 2.8K Fork 866

GVPJbootProjects / jboot

 / 详情

如何添加自定义filter

Backlog
Opened this issue  
2021-09-09 17:39

jboot项目中 如何集成第三方Filter,或如何添加自定义Filter

Comments (6)

re created任务
re set related repository to JbootProjects/jboot
re changed title
Expand operation logs

JbootWebBuilderConfiger configer = new JbootWebBuilderConfiger(){
onConfig(WebBuilder webBuilder){
//在这里配置 filter 或者 Servlet 等
}
}

UndertowServer server = JbootApplication.createServer(args,configer);
JbootApplication.start(server);

这是哪个版本后加的内容吗?我的版本里并没有JbootWebBuilderConfiger类

最新版本

好的,感谢

1.x 版本能友好升到最新版否

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
61279 fuhai 1578915942
Java
1
https://gitee.com/JbootProjects/jboot.git
git@gitee.com:JbootProjects/jboot.git
JbootProjects
jboot
jboot

Search

181749 a2d7925e 1850385 181749 9f8568a7 1850385