Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.0 deprecations #4338

Merged
merged 3 commits into from Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -241,7 +241,9 @@ public HttpClientBuilder using(List<? extends Header> defaultHeaders) {
*
* @param httpProcessor a {@link HttpProcessor} instance
* @return {@code} this
* @deprecated
*/
@Deprecated
public HttpClientBuilder using(HttpProcessor httpProcessor) {
this.httpProcessor = httpProcessor;
return this;
Expand All @@ -252,7 +254,9 @@ public HttpClientBuilder using(HttpProcessor httpProcessor) {
*
* @param serviceUnavailableRetryStrategy a {@link ServiceUnavailableRetryStrategy} instance
* @return {@code} this
* @deprecated will be combined with {@link #using(HttpRequestRetryHandler)} in {@code using(HttpRequestRetryStrategy)}
*/
@Deprecated
public HttpClientBuilder using(ServiceUnavailableRetryStrategy serviceUnavailableRetryStrategy) {
this.serviceUnavailableRetryStrategy = serviceUnavailableRetryStrategy;
return this;
Expand Down
Expand Up @@ -134,15 +134,19 @@ public void setCookiesEnabled(boolean enabled) {

/**
* @since 2.0
* @deprecated
*/
@Deprecated
@JsonProperty
public boolean isNormalizeUriEnabled() {
return normalizeUriEnabled;
}

/**
* @since 2.0
* @deprecated
*/
@Deprecated
@JsonProperty
public void setNormalizeUriEnabled(final boolean normalizeUriEnabled) {
this.normalizeUriEnabled = normalizeUriEnabled;
Expand Down
Expand Up @@ -310,7 +310,9 @@ public JerseyClientBuilder using(CredentialsProvider credentialsProvider) {
*
* @param serviceUnavailableRetryStrategy a {@link ServiceUnavailableRetryStrategy} instance
* @return {@code this}
* @deprecated will be combined with {@link #using(HttpRequestRetryHandler)} in {@code using(HttpRequestRetryStrategy)}
*/
@Deprecated
public JerseyClientBuilder using(ServiceUnavailableRetryStrategy serviceUnavailableRetryStrategy) {
apacheHttpClientBuilder.using(serviceUnavailableRetryStrategy);
return this;
Expand Down
Expand Up @@ -75,10 +75,12 @@ public void setEnabled(boolean enabled) {
this.enabled = enabled;
}

@JsonProperty("healthChecks")
public List<HealthCheckConfiguration> getHealthCheckConfigurations() {
return healthChecks;
}

@JsonProperty("healthChecks")
public void setHealthCheckConfigurations(final List<HealthCheckConfiguration> healthChecks) {
this.healthChecks = healthChecks;
}
Expand Down Expand Up @@ -131,10 +133,18 @@ public void setHealthResponderFactory(HealthResponderFactory healthResponderFact
this.healthResponderFactory = healthResponderFactory;
}

/**
* @deprecated use {@link #getHealthCheckConfigurations()} instead
*/
@Deprecated
public List<HealthCheckConfiguration> getHealthChecks() {
return healthChecks;
}

/**
* @deprecated use {@link #setHealthCheckConfigurations(List)} instead
*/
@Deprecated
public void setHealthChecks(List<HealthCheckConfiguration> healthChecks) {
this.healthChecks = healthChecks;
}
Expand Down
Expand Up @@ -212,10 +212,18 @@ public void setGzipCompatibleInflation(boolean gzipCompatibleInflation) {
this.gzipCompatibleInflation = gzipCompatibleInflation;
}

/**
* @deprecated
*/
@Deprecated
public Set<String> getExcludedUserAgentPatterns() {
return excludedUserAgentPatterns;
}

/**
* @deprecated
*/
@Deprecated
public void setExcludedUserAgentPatterns(Set<String> excludedUserAgentPatterns) {
this.excludedUserAgentPatterns = excludedUserAgentPatterns;
}
Expand Down