Skip to content

Commit

Permalink
Change the method name
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Nov 27, 2024
1 parent 14704df commit a0f952e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public final Supplier<? extends InetSocketAddress> getAddress() {
*
* @return The address to connect to.
*/
public final SocketAddress getSocketAddress() {
public final SocketAddress getProxyAddress() {
return this.address;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected CoreSubscriber<PooledRef<Connection>> createDisposableAcquire(
boolean acceptGzip = false;
ChannelMetricsRecorder metricsRecorder = config.metricsRecorder() != null ? config.metricsRecorder().get() : null;
SocketAddress proxyAddress = ((ClientTransportConfig<?>) config).proxyProvider() != null ?
((ClientTransportConfig<?>) config).proxyProvider().getSocketAddress() : null;
((ClientTransportConfig<?>) config).proxyProvider().getProxyAddress() : null;
Function<String, String> uriTagValue = null;
if (config instanceof HttpClientConfig) {
acceptGzip = ((HttpClientConfig) config).acceptGzip;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ static final class HttpClientChannelInitializer implements ChannelPipelineConfig
this.metricsRecorder = config.metricsRecorderInternal();
this.opsFactory = config.channelOperationsProvider();
this.protocols = config._protocols;
this.proxyAddress = config.proxyProvider() != null ? config.proxyProvider().getSocketAddress() : null;
this.proxyAddress = config.proxyProvider() != null ? config.proxyProvider().getProxyAddress() : null;
this.sslProvider = config.sslProvider;
this.uriTagValue = config.uriTagValue;
}
Expand Down

0 comments on commit a0f952e

Please sign in to comment.