Package com.salas.bb.utils.discovery.impl

Examples of com.salas.bb.utils.discovery.impl.DirectDiscoverer$RedirectionListener


        if (LOG.isLoggable(Level.FINE))
        {
            LOG.fine("Direct discovery started: URL=" + request.getUrl());
        }

        DirectDiscoverer dd = new DirectDiscoverer();
        String failureMessage = null;
        try
        {
            DiscoveryResult res = dd.discover(request.getUrl());
            if (res != null)
            {
                URL link = res.getLink();
                if (link != null)
                {
View Full Code Here


                    // Check URL and suggest if it's recognizable
                    try
                    {
                        // Check if we have correct URL
                        URL url = new URL(StringUtils.fixURL(suggestedUrl));
                        DirectDiscoverer dd = new DirectDiscoverer();
                        DiscoveryResult result = dd.discover(url);
                        if (result != null)
                        {
                            ServerService.metaSuggestFeedUrl(originalURL.toString(), suggestedUrl);

                            // set newly discovered URL and mark the data as no longer invalid
View Full Code Here

TOP

Related Classes of com.salas.bb.utils.discovery.impl.DirectDiscoverer$RedirectionListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.