@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented @WebCmsDomainMapping @CustomRequestMapping(value=WebCmsEndpointCondition.class) @RequestMapping(value="**") public @interface WebCmsEndpointMapping
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
domain
Mapping will only apply if the current
WebCmsDomainContext
if for any of the domains specified. |
org.springframework.http.HttpStatus.Series[] |
series |
org.springframework.http.HttpStatus[] |
status |
Class<? extends WebCmsEndpoint> |
value |
public abstract Class<? extends WebCmsEndpoint> value
@AliasFor(annotation=WebCmsDomainMapping.class, attribute="value") public abstract String[] domain
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.