Navigation Menu

Skip to content

Commit

Permalink
Correct filter sample
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1741109 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cziegeler committed Apr 26, 2016
1 parent 0daff35 commit 2ef20e8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ public void start(BundleContext context)
// create and register filters
final TestFilter filter1 = new TestFilter("filter1");
final Dictionary<String, Object> filter1Props = new Hashtable<String, Object>();
filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN, "/");
filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN, "/*");
filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT,
"(" + HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME + "=filtersample)");
context.registerService(Filter.class, filter1, filter1Props);
Expand Down

0 comments on commit 2ef20e8

Please sign in to comment.