Package io.micronaut.http.client.jdk
Class JdkClientSslBuilder
The Javanet implementation of
SslBuilder
that generates an SSLContext
to create a client that
supports SSL.- Since:
- 4.0.0
- Author:
- Tim Yates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(SslConfiguration ssl) build
(SslConfiguration ssl, HttpVersionSelection versionSelection) build
(SslConfiguration ssl, HttpVersion httpVersion) Methods inherited from class io.micronaut.http.ssl.SslBuilder
getKeyManagerFactory, getKeyStore, getTrustManagerFactory, getTrustManagerFactory, getTrustStore, load
-
Constructor Details
-
JdkClientSslBuilder
- Parameters:
resourceResolver
- The resource resolver
-
-
Method Details
-
build
- Specified by:
build
in classSslBuilder<SSLContext>
- Parameters:
ssl
- The ssl configuration- Returns:
- Builds the SSL configuration wrapped inside an optional
-
build
- Specified by:
build
in classSslBuilder<SSLContext>
- Parameters:
ssl
- The ssl configurationhttpVersion
- The http version- Returns:
- Builds the SSL configuration wrapped inside an optional
-
build
@Nullable public @Nullable SSLContext build(SslConfiguration ssl, HttpVersionSelection versionSelection)
-