Interface HTTPClientFactory

    • Method Detail

      • canProcess

        boolean canProcess​(Hints hints,
                           List<Class<? extends HTTPBehavior>> behaviors)
        Method used to check if client in Hints can be created
        Returns:
        Client class
      • createClient

        HTTPClient createClient​(List<Class<? extends HTTPBehavior>> behaviors)
        Method called to create the client
        Returns:
        default http client
      • createClient

        HTTPClient createClient​(Hints hints,
                                List<Class<? extends HTTPBehavior>> behaviors)
        Called by HTTPFactoryFinder to create client

        Takes care of any delegation

        Parameters:
        hints - Merged with system defaults
        Returns: