This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Settings filters in a webapp descriptor | |
--------------------------------------- | |
First Option using up() for jumping back to the parent node: Second option using type information | |
String desc = create(WebApp30Descriptor.class) String desc = create(WebAppDescriptor.class) | |
.filter() .filter(type(Filter.class) | |
.setFilterClass("org.dot.clazz") .name("name") | |
.setFilterName("name").up() .className("org.dot.clazz") ) | |
.filterMapping() .filterMapping(type(FilterMapping.class) |