Skip to content

Commit

Permalink
DNS resolver should not be possible to set per request - 2.x (#4815)
Browse files Browse the repository at this point in the history
Signed-off-by: David Kral <[email protected]>
  • Loading branch information
Verdent authored Aug 31, 2022
1 parent 3da96a0 commit 9997237
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,6 @@ default WebClientRequestBuilder addHeaders(Parameters parameters){
*/
WebClientRequestBuilder allowChunkedEncoding(boolean allowChunkedEncoding);

/**
* Set which type of DNS resolver should be used.
*
* @param dnsResolverType type of the DNS resolver to be used
* @return updated builder instance
*/
WebClientRequestBuilder dnsResolverType(DnsResolverType dnsResolverType);

/**
* Performs prepared request and transforms response to requested type.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,6 @@ public WebClientRequestBuilder allowChunkedEncoding(boolean allowChunkedEncoding
return this;
}

@Override
public WebClientRequestBuilder dnsResolverType(DnsResolverType dnsResolverType) {
this.dnsResolverType = dnsResolverType;
return this;
}

@Override
public <T> Single<T> request(Class<T> responseType) {
return request(GenericType.create(responseType));
Expand Down

0 comments on commit 9997237

Please sign in to comment.