Package com.day.cq.rewriter.pipeline
Interface RequestLinkChecker
-
public interface RequestLinkCheckerTheRequestLinkCheckerinterface defines an optional service which is used to perform custom link checking by the link checker transformer.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LinkgetLink(java.lang.String href, LinkCheckerSettings settings)This method checks if the passed url is a valid internal or external link.
-
-
-
Method Detail
-
getLink
Link getLink(java.lang.String href, LinkCheckerSettings settings)
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
-
-