频道栏目
首页 > 程序开发 > 综合编程 > 其他综合 > 正文
知识库--web.xml 中的 FilterDef(54)
2016-12-20 09:24:00         来源:qfzhangwei的专栏  
收藏   我要投稿

FilterDef

The org.apache.catalina.deploy.FilterDef class represents a filter definition as defined by the filter element in the deployment descriptor.

public final class FilterDef{
    private String description = null;
    public  String getDescription(){
return(this.description);
    }
    //and set method

    private String displayName = null;
    //get and set method


    //The fully  qualified name of the Java class that implements this filter
    private String filterClass = null;
    //get and set method

    //unique and particular
    private String filterName = null;
    //get and set method

    //The large icon associated with this filter
    private String largeIcon = nulll;
    //get and set method

    //The set initialization parameters for this filter, keyed by parameter name
    private Map parameters = new HashMap();
    //get method

    //The small icon associated with this filter
    private Sting smallIcon = null;
    //get and set method

    public void addInitParameter(String name,String value){
parameters.put(name,value);
    }
    //Render a String representation of this object
    public String toString(){...}
}

Each property in the FilterDef class represents a sub-element that can appear under the filter element.

点击复制链接 与好友分享!回本站首页
上一篇:求单链表是否有环、环长、入环点、链长
下一篇:可变参数函数——以printf为例子
相关文章
图文推荐
点击排行

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站