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

[Java][okhttp4-gson] Fix adding/removing interceptors to OkHttpClient in OkHttp3 #1336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stephanvercauteren
Copy link

This PR addresses issue #1206 and fixes the same issue occuring at 2 other locations.

Starting from OkHttp3, interceptors cannot be added/removed directly onto a HttpClient object anymore, rather a Builder object should be used.

@stephanvercauteren stephanvercauteren changed the title Fix adding/removing interceptors to OkHttpClient in OkHttp3 [Java][okhttp3-gson] Fix adding/removing interceptors to OkHttpClient in OkHttp3 Feb 26, 2025
@stephanvercauteren stephanvercauteren changed the title [Java][okhttp3-gson] Fix adding/removing interceptors to OkHttpClient in OkHttp3 [Java][okhttp4-gson] Fix adding/removing interceptors to OkHttpClient in OkHttp3 Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant