Class HttpServerOptionsUtils
java.lang.Object
io.quarkus.vertx.http.runtime.options.HttpServerOptionsUtils
-
Constructor Summary
Constructors -
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 enabledgetCredential
(Optional<String> password, Map<String, String> credentials, Optional<String> passwordKey) (package private) static byte[]
getFileContent
(Path path) getInsecureRequestStrategy
(HttpBuildTimeConfig buildTimeConfig, Optional<HttpConfiguration.InsecureRequests> requests) (package private) static <T> Optional<T>
-
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
-
getCredential
-
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) -
getFileContent
- Throws:
IOException
-
getInsecureRequestStrategy
public static HttpConfiguration.InsecureRequests getInsecureRequestStrategy(HttpBuildTimeConfig buildTimeConfig, Optional<HttpConfiguration.InsecureRequests> requests) -
or
-