Package com.day.cq.rewriter.pipeline
Interface RequestLinkChecker
public interface RequestLinkChecker
The
RequestLinkChecker interface defines an optional
service which is used to perform custom link checking by
the link checker transformer.- Since:
- 5.4
-
Method Summary
Modifier and TypeMethodDescriptiongetLink(String href, LinkCheckerSettings settings) This method checks if the passed url is a valid internal or external link.
-
Method Details
-
getLink
This method checks if the passed url is a valid internal or external link. If this method is not able to check the link it may returnnull. In this case the default link checker checks the link.- Parameters:
href- url to validatesettings- linkchecker settings. seeLinkCheckerSettings- Returns:
- the link information for this url or
null
-