题目内容
(请给出正确答案)
[单选题]
Intent Filter的定义在()
A.xml布局文件中
B.AndroidManifest.xml中
C.资源文件xml文件中
D.Activity的java代码中
查看答案
如果结果不匹配,请 联系老师 获取答案
A.xml布局文件中
B.AndroidManifest.xml中
C.资源文件xml文件中
D.Activity的java代码中
A.Filter也称之为过滤器,能够对web服务器管理的所有web资源进行拦截,从而实现一些特殊的功能
B.ServletAPI中提供了一个Filter接口,而实现了该接口的java类称之为过滤器类
C.Filter接口中有一个doFilter方法,无论如何WEB服务器每次在调用web资源的service方法之前都会先调用filter的doFilter方法
D.filterChain对象是filter接口中最重要的一个对象,通过调用该对象的doFilter方法可以继续执行web资源的service方法