Interface Fetcher

  • All Implemented Interfaces:

    
    public interface Fetcher
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • fetchContent

         abstract Response fetchContent(WebPage page)

        Fetch page content.

        Parameters:
        page - the page to fetch
        Returns:

        the response

      • fetchDeferred

         abstract Response fetchDeferred(String url, VolatileConfig volatileConfig)

        Fetch a url.

        Parameters:
        url - the url to fetch
        Returns:

        the response

      • fetchContentDeferred

         abstract Response fetchContentDeferred(WebPage page)

        Fetch page content.

        Parameters:
        page - the page to fetch
        Returns:

        the response