Skip to content

Commit

Permalink
Deprecate DefaultUriMapper and PoolingHttpClientConnectionManagerMetr…
Browse files Browse the repository at this point in the history
…icsBinder in httpcomponents (#4862)
  • Loading branch information
izeye authored Mar 22, 2024
1 parent 62990bf commit 11bf261
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
*
* @author Benjamin Hubert
* @since 1.4.0
* @deprecated as of 1.12.5 in favor of an
* {@link org.apache.hc.client5.http.protocol.HttpClientContext} value with
* {@link io.micrometer.core.instrument.binder.httpcomponents.hc5.ApacheHttpClientObservationConvention#URI_TEMPLATE_ATTRIBUTE}
* as key name.
*/
@Deprecated
public class DefaultUriMapper implements Function<HttpRequest, String> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
*
* @author Benjamin Hubert ([email protected])
* @since 1.3.0
* @deprecated as of 1.12.5 in favor of HttpComponents 5.x and
* {@link io.micrometer.core.instrument.binder.httpcomponents.hc5.PoolingHttpClientConnectionManagerMetricsBinder}.
*/
@Deprecated
public class PoolingHttpClientConnectionManagerMetricsBinder implements MeterBinder {

private final ConnPoolControl<HttpRoute> connPoolControl;
Expand Down

0 comments on commit 11bf261

Please sign in to comment.