Lines Matching defs:filter
54 // Install local filter and servlet bindings.
68 * example of registering a filter when creating your Guice injector:
88 * Every servlet (or filter) is required to be a singleton. If you cannot annotate the class
95 * be compared and dispatched in the order in which the filter methods are called:
103 * filter("/*").through(MyFilter.class);
104 * filter("*.css").through(MyCssFilter.class);
105 * filter("*.jpg").through(new MyJpgFilter());
136 * also available for filter mappings.
179 * filter("/*").through(<b>Key.get(Filter.class, Fave.class)</b>);
184 * filter's implementation:
195 * It is sometimes useful to capture servlet and filter mappings from multiple different
203 * {@code RpcModule} and {@code WebServiceModule} and they each contained a filter that mapped
209 * filter("/*").through(RpcFilter.class);
214 * filter("/*").through(WebServiceFilter.class);
252 protected final FilterKeyBindingBuilder filter(String urlPattern, String... morePatterns) {
254 .filter(ImmutableList.<String>builder().add(urlPattern).add(morePatterns).build());
303 void through(Filter filter);
307 void through(Filter filter, Map<String, String> initParams);