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

Deprecated code #51

Open
Fabian68 opened this issue Jan 30, 2023 · 0 comments
Open

Deprecated code #51

Fabian68 opened this issue Jan 30, 2023 · 0 comments

Comments

@Fabian68
Copy link

Hello the code is deprecated, a few exemple here :

final SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));
final ClientConnectionManager connexionManager = new SingleClientConnManager(null, registry);
final HttpClient httpClient = new DefaultHttpClient(connexionManager, null);

Become now :

static CloseableHttpClient httpClient = HttpClients.createDefault();

Thanks for the great work, i hope for an update anti legacy.

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

No branches or pull requests

1 participant