Interface HttpParamsFactory

All Known Implementing Classes:
DefaultHttpParamsFactory

@Deprecated public interface HttpParamsFactory
Deprecated.
Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.
A factory for getting the default set of parameters to use when creating an instance of HttpParams.
Since:
3.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Gets the default parameters.
  • Method Details

    • getDefaultParams

      HttpParams getDefaultParams()
      Deprecated.
      Gets the default parameters. This method may be called more than once and is not required to always return the same value.
      Returns:
      an instance of HttpParams