mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-01 19:28:30 +08:00
fix: 修改《添加Web过滤器》文档中的一个示例代码的错误
This commit is contained in:
parent
821fababb1
commit
ec4564a1c4
@ -60,7 +60,7 @@ public class MyAbcFilter implements WebFilterFace {
|
||||
|
||||
```java
|
||||
@IocBean // 必须声明成一个Ioc对象
|
||||
public class MyAbcFilter extends implements WebFilterFace {
|
||||
public class MyAbcFilter extends XXXFilter implements WebFilterFace {
|
||||
// 与上一个示例的区别在于getFilter这一步
|
||||
public Filter getFilter() {
|
||||
return this; // 返回自身
|
||||
|
Loading…
Reference in New Issue
Block a user