Package io.quarkus.tls.runtime.config
Class TlsConfigUtils
java.lang.Object
io.quarkus.tls.runtime.config.TlsConfigUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(io.vertx.core.http.HttpClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theHttpClientOptionswith the givenTlsConfiguration.static voidconfigure(io.vertx.core.http.WebSocketClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theWebSocketClientOptionswith the givenTlsConfiguration.static voidconfigure(io.vertx.core.net.ClientOptionsBase options, io.quarkus.tls.TlsConfiguration configuration) Configure theClientOptionsBasewith the givenTlsConfiguration.static voidconfigure(io.vertx.core.net.NetClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theNetClientOptionswith the givenTlsConfiguration.static voidconfigure(io.vertx.core.net.TCPSSLOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theTCPSSLOptionswith the givenTlsConfiguration.static byte[]Read the content of the path.
-
Method Details
-
read
Read the content of the path.The file is read from the classpath if it exists, otherwise it is read from the file system.
- Parameters:
path- the path, must not benull- Returns:
- the content of the file
-
configure
public static void configure(io.vertx.core.net.TCPSSLOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theTCPSSLOptionswith the givenTlsConfiguration.- Parameters:
options- the options to configureconfiguration- the configuration to use
-
configure
public static void configure(io.vertx.core.net.ClientOptionsBase options, io.quarkus.tls.TlsConfiguration configuration) Configure theClientOptionsBasewith the givenTlsConfiguration.- Parameters:
options- the options to configureconfiguration- the configuration to use
-
configure
public static void configure(io.vertx.core.net.NetClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theNetClientOptionswith the givenTlsConfiguration.- Parameters:
options- the options to configureconfiguration- the configuration to use
-
configure
public static void configure(io.vertx.core.http.HttpClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theHttpClientOptionswith the givenTlsConfiguration.- Parameters:
options- the options to configureconfiguration- the configuration to use
-
configure
public static void configure(io.vertx.core.http.WebSocketClientOptions options, io.quarkus.tls.TlsConfiguration configuration) Configure theWebSocketClientOptionswith the givenTlsConfiguration.- Parameters:
options- the options to configureconfiguration- the configuration to use
-