Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ private ExecInterceptorEntry(
private boolean cookieManagementDisabled;
private boolean authCachingDisabled;
private boolean connectionStateDisabled;
private boolean defaultUserAgentDisabled;
private ProxySelector proxySelector;

private boolean tlsRequired;
Expand Down Expand Up @@ -777,13 +776,14 @@ public final HttpClientBuilder evictIdleConnections(final TimeValue maxIdleTime)
}

/**
* Disables the default user agent set by this builder if none has been provided by the user.
* Ignored.
*
* @return this instance.
* @since 4.5.7
* @deprecated This method has no effect and calls to it can be removed.
*/
@Deprecated
public final HttpClientBuilder disableDefaultUserAgent() {
this.defaultUserAgentDisabled = true;
return this;
}

Expand Down
Loading