felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1741109 - /felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java
Date Tue, 26 Apr 2016 22:01:49 GMT
Author: cziegeler
Date: Tue Apr 26 22:01:48 2016
New Revision: 1741109

URL: http://svn.apache.org/viewvc?rev=1741109&view=rev
Log:
Correct filter sample

Modified:
    felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java

Modified: felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java?rev=1741109&r1=1741108&r2=1741109&view=diff
==============================================================================
--- felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java
(original)
+++ felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java
Tue Apr 26 22:01:48 2016
@@ -62,7 +62,7 @@ public final class Activator
         // 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);



Mime
View raw message