You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c06a07
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,12 @@ Get Started
28
28
2. Include OCPSoft Rewrite in your application's POM file:
29
29
30
30
<dependency>
31
-
<groupId>com.ocpsoft.rewrite</groupId>
31
+
<groupId>org.ocpsoft.rewrite</groupId>
32
32
<artifactId>rewrite-impl-servlet</artifactId>
33
33
<version>${rewrite.version}</version>
34
34
</dependency>
35
35
36
-
3. Add a configuration provider implementing the 'com.ocpsoft.rewrite.config.ConfigurationProvider' interface, or extending from the abstract HttpConfigurationProvider class for convenience:
36
+
3. Add a configuration provider implementing the 'org.ocpsoft.rewrite.config.ConfigurationProvider' interface, or extending from the abstract HttpConfigurationProvider class for convenience:
37
37
38
38
package com.example;
39
39
public class ExampleConfigurationProvider extends HttpConfigurationProvider
@@ -55,13 +55,13 @@ Get Started
55
55
}
56
56
}
57
57
58
-
4. Create a file named: '/META-INF/services/com.ocpsoft.rewrite.config.ConfigurationProvider' which contains the fully qualified name of your ConfigurationProvider implementation:
58
+
4. Create a file named: '/META-INF/services/org.ocpsoft.rewrite.config.ConfigurationProvider' which contains the fully qualified name of your ConfigurationProvider implementation:
5. Add rules to your configuration. Condition objects such as 'Direction.isInbound()' and 'Path.matches(...)' can be found in the 'com.ocpsoft.rewrite.config.*' and 'com.ocpsoft.rewrite.servlet.config.*' packages.
64
+
5. Add rules to your configuration. Condition objects such as 'Direction.isInbound()' and 'Path.matches(...)' can be found in the 'org.ocpsoft.rewrite.config.*' and 'org.ocpsoft.rewrite.servlet.config.*' packages.
65
65
66
66
6. Consider using Rewrite extensions for extra power:
* Abstract implementation of {@link RewriteProvider} which only handles {@link ServletRewrite} events.
26
+
* Abstract implementation of {@link org.ocpsoft.rewrite.spi.RewriteProvider} which only handles {@link org.ocpsoft.rewrite.servlet.event.ServletRewrite} events.
* Evaluate this condition against the given {@link HttpServletRewrite} event. If this condition does not apply to
31
+
* Evaluate this condition against the given {@link org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite} event. If this condition does not apply to
32
32
* the given event, it must return false. If the condition applies and is satisfied, return true.
0 commit comments