Class ConnectMethod

java.lang.Object
org.apache.commons.httpclient.HttpMethodBase
org.apache.commons.httpclient.ConnectMethod
All Implemented Interfaces:
HttpMethod

@Deprecated public class ConnectMethod extends HttpMethodBase
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.
Establishes a tunneled HTTP connection via the CONNECT method.
Since:
2.0
  • Field Details

  • Constructor Details

    • ConnectMethod

      public ConnectMethod()
      Deprecated.
      use #ConnectMethod(HttpHost); Create a connect method.
      Since:
      3.0
    • ConnectMethod

      public ConnectMethod(HttpMethod method)
      Deprecated.
      the wrapped method is no longer used Create a connect method wrapping the existing method
      Parameters:
      method - the method to execute after connecting to the server
    • ConnectMethod

      public ConnectMethod(HostConfiguration targethost)
      Deprecated.
      Create a connect method.
      Since:
      3.0
  • Method Details