Skip to content

Commit 5f3d006

Browse files
committed
RequestConfig: Un-deprecate #setProxy
When previously discussing the design of Unix domain socket support, we agreed that `proxy` is in fact a reasonable `RequestConfig` option. This change removes the deprecation notice.
1 parent 168e7b2 commit 5f3d006

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

httpclient5/src/main/java/org/apache/hc/client5/http/config/RequestConfig.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,7 @@ public boolean isExpectContinueEnabled() {
127127

128128
/**
129129
* @see Builder#setProxy(HttpHost)
130-
*
131-
* @deprecated Use {@link org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner}
132-
* or a custom {@link org.apache.hc.client5.http.routing.HttpRoutePlanner}.
133130
*/
134-
@Deprecated
135131
public HttpHost getProxy() {
136132
return proxy;
137133
}
@@ -372,10 +368,7 @@ public Builder setExpectContinueEnabled(final boolean expectContinueEnabled) {
372368
* </p>
373369
*
374370
* @return this instance.
375-
* @deprecated Use {@link org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner}
376-
* or a custom {@link org.apache.hc.client5.http.routing.HttpRoutePlanner}.
377371
*/
378-
@Deprecated
379372
public Builder setProxy(final HttpHost proxy) {
380373
this.proxy = proxy;
381374
return this;

0 commit comments

Comments
 (0)