public interface WebCmsUriComponentsService
UriComponentsBuilder for a given WebCmsAsset, WebCmsEndpoint or WebCmsUrl| Modifier and Type | Method and Description |
|---|---|
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsAsset asset)
Builds a
UriComponentsBuilder for a particular WebCmsAsset on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsAsset asset,
WebCmsDomain domain)
Builds a
UriComponentsBuilder for a particular WebCmsAsset on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsEndpoint endpoint)
Builds a
UriComponentsBuilder for a particular WebCmsEndpoint on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsEndpoint endpoint,
WebCmsDomain domain)
Builds a
UriComponentsBuilder for a particular WebCmsEndpoint on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsUrl url)
Builds a
UriComponentsBuilder for a particular WebCmsUrl on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> |
buildUriComponents(WebCmsUrl url,
WebCmsDomain domain)
Builds a
UriComponentsBuilder for a particular WebCmsUrl on the current domain. |
Optional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsAsset asset)
UriComponentsBuilder for a particular WebCmsAsset on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
asset - to build the UriComponentsBuilder forOptional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsAsset asset, WebCmsDomain domain)
UriComponentsBuilder for a particular WebCmsAsset on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
asset - to build the UriComponentsBuilder fordomain - to build the UriComponentsBuilder forOptional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsEndpoint endpoint)
UriComponentsBuilder for a particular WebCmsEndpoint on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
endpoint - to build the UriComponentsBuilder forOptional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsEndpoint endpoint, WebCmsDomain domain)
UriComponentsBuilder for a particular WebCmsEndpoint on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
endpoint - to build the UriComponentsBuilder fordomain - to build the UriComponentsBuilder forOptional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsUrl url)
UriComponentsBuilder for a particular WebCmsUrl on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
The domain of the url is specified by its endpoint.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
url - to build the UriComponentsBuilder forOptional<org.springframework.web.util.UriComponentsBuilder> buildUriComponents(WebCmsUrl url, WebCmsDomain domain)
UriComponentsBuilder for a particular WebCmsUrl on the current domain.
The UriComponentsBuilder contains the path of the primary url of the asset if available.
The domain of the url is specified by its endpoint.
If the current domain contains WebCmsDomainUrlConfigurer metadata,
the UriComponentsBuilder will contain the prefix url if the domain of the asset differs from the current domain or if
WebCmsDomainUrlConfigurer.isAlwaysPrefix() is true.
url - to build the UriComponentsBuilder fordomain - to build the UriComponentsBuilder forCopyright © 2020. All rights reserved.