@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented @CustomRequestMapping(value=com.foreach.across.modules.webcms.domain.domain.web.WebCmsDomainCondition.class) @RequestMapping(value="**") public @interface WebCmsDomainMapping
WebCmsDomainContext.
If configured without any domains, this mapping will always apply. Usually used in combination with another
RequestMapping. All other WebCmsModule mapping annotations
implicitly add this mapping annotation as well.
Mapping with a domain value will take precedence over a mapping without a domain value.
NOTE: the default no-domain must be configured with an explicit null value as well.WebCmsEndpointMapping| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
value
Mapping will only apply if the current
WebCmsDomainContext
if for any of the domains specified. |
public abstract String[] value
WebCmsDomainContext
if for any of the domains specified. If the array of domains is empty, mapping will always apply.
A domain is specified by its domain key, null represent the explicit no-domain.Copyright © 2020. All rights reserved.