Class RobustHTTPClient

java.lang.Object
io.jenkins.plugins.httpclient.RobustHTTPClient
All Implemented Interfaces:
Serializable

public final class RobustHTTPClient extends Object implements Serializable
Utility to make HTTP connections with protection against transient failures.
See Also:
  • Constructor Details

    • 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.

  • Method Details