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
    Modifier and Type
    Required Element
    Description
    The ParameterizedPattern used for matching the domain.
  • Element Details

    • value

      String value
      The ParameterizedPattern used for matching the domain.