@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented @WebCmsEndpointMapping(value=WebCmsAssetEndpoint.class) @CustomRequestMapping(value=WebCmsAssetCondition.class) @RequestMapping(value="**") public @interface WebCmsAssetMapping
WebCmsAsset endpoint.| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
domain
Mapping will only apply if the current
WebCmsDomainContext
if for any of the domains specified. |
String[] |
objectId
Globally unique asset object ids.
|
org.springframework.http.HttpStatus.Series[] |
series
Mapping will only apply if the
WebCmsUrl that it
matched on has a status in this series configured. |
org.springframework.http.HttpStatus[] |
status
Mapping will only apply if the
WebCmsUrl that it
matched on has this status configured. |
Class<? extends WebCmsAsset> |
value
Asset type.
|
public abstract Class<? extends WebCmsAsset> value
public abstract String[] objectId
public abstract org.springframework.http.HttpStatus[] status
WebCmsUrl that it
matched on has this status configured.public abstract org.springframework.http.HttpStatus.Series[] series
WebCmsUrl that it
matched on has a status in this series configured.@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.