SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.config.HttpClientConfig Class Reference

Configures a secure HttpClient bean with TLS 1.3, no redirects, and a 5-second timeout. More...

+ Collaboration diagram for fr.softsf.sudokufx.config.HttpClientConfig:

Package Functions

HttpClient httpClient () throws KeyManagementException, NoSuchAlgorithmException
 Provides a secure HttpClient with TLS 1.3.
 

Detailed Description

Configures a secure HttpClient bean with TLS 1.3, no redirects, and a 5-second timeout.

Member Function Documentation

◆ httpClient()

HttpClient fr.softsf.sudokufx.config.HttpClientConfig.httpClient ( ) throws KeyManagementException, NoSuchAlgorithmException
package

Provides a secure HttpClient with TLS 1.3.

Returns
Configured HttpClient instance.
Exceptions
NoSuchAlgorithmExceptionif TLS 1.3 is unsupported.
KeyManagementExceptionif SSL context initialization fails.

The documentation for this class was generated from the following file: