Class HttpServerOptionsUtils
java.lang.Object
io.quarkus.vertx.http.runtime.options.HttpServerOptionsUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyCommonOptions
(io.vertx.core.http.HttpServerOptions httpServerOptions, HttpBuildTimeConfig buildTimeConfig, HttpConfiguration httpConfiguration, List<String> websocketSubProtocols) static void
applyCommonOptionsForManagementInterface
(io.vertx.core.http.HttpServerOptions options, ManagementInterfaceBuildTimeConfig buildTimeConfig, ManagementInterfaceConfiguration httpConfiguration, List<String> websocketSubProtocols) static io.vertx.core.http.HttpServerOptions
createSslOptions
(HttpBuildTimeConfig buildTimeConfig, HttpConfiguration httpConfiguration, LaunchMode launchMode, List<String> websocketSubProtocols) Get anHttpServerOptions
for this server configuration, or null if SSL should not be enabledstatic io.vertx.core.http.HttpServerOptions
createSslOptionsForManagementInterface
(ManagementInterfaceBuildTimeConfig buildTimeConfig, ManagementInterfaceConfiguration httpConfiguration, LaunchMode launchMode, List<String> websocketSubProtocols) Get anHttpServerOptions
for this server configuration, or null if SSL should not be enabledgetInsecureRequestStrategy
(HttpBuildTimeConfig buildTimeConfig, Optional<HttpConfiguration.InsecureRequests> requests)
-
Constructor Details
-
HttpServerOptionsUtils
public HttpServerOptionsUtils()
-
-
Method Details
-
createSslOptions
public static io.vertx.core.http.HttpServerOptions createSslOptions(HttpBuildTimeConfig buildTimeConfig, HttpConfiguration httpConfiguration, LaunchMode launchMode, List<String> websocketSubProtocols) throws IOException Get anHttpServerOptions
for this server configuration, or null if SSL should not be enabled- Throws:
IOException
-
createSslOptionsForManagementInterface
public static io.vertx.core.http.HttpServerOptions createSslOptionsForManagementInterface(ManagementInterfaceBuildTimeConfig buildTimeConfig, ManagementInterfaceConfiguration httpConfiguration, LaunchMode launchMode, List<String> websocketSubProtocols) throws IOException Get anHttpServerOptions
for this server configuration, or null if SSL should not be enabled- Throws:
IOException
-
applyCommonOptions
public static void applyCommonOptions(io.vertx.core.http.HttpServerOptions httpServerOptions, HttpBuildTimeConfig buildTimeConfig, HttpConfiguration httpConfiguration, List<String> websocketSubProtocols) -
applyCommonOptionsForManagementInterface
public static void applyCommonOptionsForManagementInterface(io.vertx.core.http.HttpServerOptions options, ManagementInterfaceBuildTimeConfig buildTimeConfig, ManagementInterfaceConfiguration httpConfiguration, List<String> websocketSubProtocols) -
getInsecureRequestStrategy
public static HttpConfiguration.InsecureRequests getInsecureRequestStrategy(HttpBuildTimeConfig buildTimeConfig, Optional<HttpConfiguration.InsecureRequests> requests)
-