Class FindPreferredRedirectionHandler

    • Field Detail

      • redirectionURIPattern

        protected java.util.regex.Pattern redirectionURIPattern
    • Constructor Detail

      • FindPreferredRedirectionHandler

        public FindPreferredRedirectionHandler​(java.lang.String parentURI,
                                               java.util.regex.Pattern redirectionURIPattern)
    • Method Detail

      • applyOverrides

        public void applyOverrides​(LoginParameters lp)
                            throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Apply overrides
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • noteDiscoveredBase

        public void noteDiscoveredBase​(java.lang.String rawURL)
                                throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Description copied from interface: IDiscoveredLinkHandler
        Inform the world of a new base HREF.
        Specified by:
        noteDiscoveredBase in interface IDiscoveredLinkHandler
        Overrides:
        noteDiscoveredBase in class FindHandler
        Parameters:
        rawURL - is the new base HREF, in raw form. This may be relative, malformed, etc.
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • noteDiscoveredLink

        public void noteDiscoveredLink​(java.lang.String rawURL)
                                throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Override noteDiscoveredLink
        Specified by:
        noteDiscoveredLink in interface IDiscoveredLinkHandler
        Overrides:
        noteDiscoveredLink in class FindHandler
        Parameters:
        rawURL - is the raw discovered url. This may be relative, malformed, or otherwise unsuitable for use until final form is acheived.
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException