What is chain.doFilter doing in Filter.doFilter method?

后端 未结 6 1917
予麋鹿
予麋鹿 2020-12-08 06:51

In a Filter.doFilter method I made this call chain.doFilter.

What is doFilter doing inside a doFilter? Isn\'t it a recursive call?

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 07:14

    Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

提交回复
热议问题