在一个Filter中,处理filter业务的是()方法。
A: dealFilter(ServletRequestrequest,ServletResponseresponse,FilterChainchain)
B: dealFilter(ServletRequestrequest,ServletResponseresponse)
C: doFilter(ServletRequestrequest,ServletResponseresponse,FilterChainchain)
D: doFilter(ServletRequestrequest,ServletResponseresponse)
A: dealFilter(ServletRequestrequest,ServletResponseresponse,FilterChainchain)
B: dealFilter(ServletRequestrequest,ServletResponseresponse)
C: doFilter(ServletRequestrequest,ServletResponseresponse,FilterChainchain)
D: doFilter(ServletRequestrequest,ServletResponseresponse)
举一反三
- 在一个Filter中,处理filter的业务的是()方法 A: dealFilter(ServletRequest reg,ServletResponse res,FilterChain chain) B: dealFilter(ServletRequest reg,ServletResponse res) C: doFilter(ServletRequest reg,ServletResponse res,FilterChain chain) D: doFilter(ServletRequest reg,ServletResponse res)
- 在一个Filter中,处理Filter业务的是( )方法 A: doFilter (HttpServletRequest request,HttpServletResponse response,FilterChainchain) B: doFilter (HttpServletRequest request,HttpServletResponse response) C: doFilter (ServletRequest request,ServletResponse response ,FilterChain chain) D: doFilter (ServletRequest request, ServletResponse response)
- 一个Filter对象中的doFilter方法可以被多次调用。
- ()是Filter的方法。 A: doFilter() B: add() C: destroy() D: init()
- 下面选项中,用于让Filter链上的下一个Filter执行的方法是( )。 A: service( ) 方法 B: filter ( )方法 C: doFilter( )方法 D: doGet( )方法