@Inherited @Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface 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;
}
Parameter} {@link ParameterizedPattern}public abstract String value
ParameterizedPattern used for matching the domain.Copyright © 2019 OCPsoft. All rights reserved.