Class RobustHTTPClient

    • Constructor Detail

      • RobustHTTPClient

        public RobustHTTPClient()
        Creates a client configured with reasonable defaults from system properties.

        This constructor should be run in the Jenkins controller. To make requests from an agent JVM, create a final field of this type in your MasterToSlaveCallable or similar; set it with a field initializer (run in the callable’s constructor on the controller), letting the agent deserialize the configuration.