# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  org.apache.hc.client5.http.impl.MessageCopier Use message builders.

- Deprecated Classes
  Class and Description
  org.apache.hc.client5.http.async.methods.BasicHttpRequests Use `BasicRequestBuilder`.
  org.apache.hc.client5.http.classic.methods.ClassicHttpRequests Use `ClassicRequestBuilder`
  org.apache.hc.client5.http.impl.classic.ClassicRequestCopier Use `ClassicRequestBuilder`
  org.apache.hc.client5.http.impl.RequestCopier Use `BasicRequestBuilder`
  org.apache.hc.client5.http.async.methods.SimpleHttpRequests Use `SimpleRequestBuilder`.

- Deprecated Methods
  Method and Description
  org.apache.hc.client5.http.async.methods.SimpleHttpRequest.copy(HttpRequest) Use `SimpleRequestBuilder`
  org.apache.hc.client5.http.utils.URIUtils.create(HttpHost, String) Use `URIBuilder`.
  org.apache.hc.client5.http.utils.URIUtils.create(String, URIAuthority, String) Use `URIBuilder`.
  org.apache.hc.client5.http.utils.URIUtils.rewriteURI(URI) Use `URIBuilder`.
  org.apache.hc.client5.http.utils.URIUtils.rewriteURI(URI, HttpHost) Use `URIBuilder`.
  org.apache.hc.client5.http.utils.URIUtils.rewriteURI(URI, HttpHost, boolean) Use `URIBuilder`.

- Deprecated Constructors
  Constructor and Description
  org.apache.hc.client5.http.async.AsyncExecChain.Scope(String, HttpRoute, HttpRequest, CancellableDependency, HttpClientContext, AsyncExecRuntime) Use `Scope#Scope(String, HttpRoute, HttpRequest, CancellableDependency, HttpClientContext, AsyncExecRuntime, Scheduler, AtomicInteger)`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.