Package org.ocpsoft.rewrite.annotation
Annotation Type Domain
Adds a Domain condition to the current rule. This allows to restrict the
rule to a specific domain or to bind a substring of the domain to a bean property via the Parameter
annotation.
@Domain("{lang}.example.com")
@Join(path = "/something", to = "/some-page.html")
public class MyClass {
@Parameter
private String lang;
}
- Author:
- Christian Kaltepoth, Lincoln Baxter, III
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueTheParameterizedPatternused for matching the domain.
-