@ConsumerType public abstract class LinkHandlerConfig extends Object implements io.wcm.sling.commons.caservice.ContextAwareService
LinkHandlerConfig OSGi services provide application-specific configuration for link handling.
Applications can set service properties or bundle headers as defined in ContextAwareService to apply this
configuration only for resources that match the relevant resource paths.| Constructor and Description |
|---|
LinkHandlerConfig() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends LinkType>> |
getLinkTypes() |
List<Class<? extends LinkMarkupBuilder>> |
getMarkupBuilders() |
List<Class<? extends LinkProcessor>> |
getPostProcessors() |
List<Class<? extends LinkProcessor>> |
getPreProcessors() |
boolean |
isRedirect(com.day.cq.wcm.api.Page page)
Detected if page contains redirect link information
|
boolean |
isValidLinkTarget(com.day.cq.wcm.api.Page page)
Detected if page is acceptable as link target.
|
public List<Class<? extends LinkMarkupBuilder>> getMarkupBuilders()
public List<Class<? extends LinkProcessor>> getPreProcessors()
public List<Class<? extends LinkProcessor>> getPostProcessors()
public boolean isValidLinkTarget(com.day.cq.wcm.api.Page page)
InternalLinkType, other LinkType implementations
may implement other logic.page - Pagepublic boolean isRedirect(com.day.cq.wcm.api.Page page)
page - PageCopyright © 2014–2017 wcm.io. All rights reserved.