Package io.quarkus.vertx.http.runtime
Class HttpConfiguration
java.lang.Object
io.quarkus.vertx.http.runtime.HttpConfiguration
@Deprecated(forRemoval=true,
since="3.19")
@ConfigRoot(phase=RUN_TIME)
public class HttpConfiguration
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The HTTP hostintDeprecated, for removal: This API element is subject to removal in a future version.The HTTP portintDeprecated, for removal: This API element is subject to removal in a future version.The HTTPS portDeprecated, for removal: This API element is subject to removal in a future version.Static Resources. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Field Details
-
port
Deprecated, for removal: This API element is subject to removal in a future version.The HTTP port -
host
Deprecated, for removal: This API element is subject to removal in a future version.The HTTP hostIn dev/test mode this defaults to localhost, in prod mode this defaults to 0.0.0.0
Defaulting to 0.0.0.0 makes it easier to deploy Quarkus to container, however it is not suitable for dev/test mode as other people on the network can connect to your development machine.
As an exception, when running in Windows Subsystem for Linux (WSL), the HTTP host defaults to 0.0.0.0 even in dev/test mode since using localhost makes the application inaccessible.
-
sslPort
Deprecated, for removal: This API element is subject to removal in a future version.The HTTPS port -
staticResources
Deprecated, for removal: This API element is subject to removal in a future version.Static Resources.
-
-
Constructor Details
-
HttpConfiguration
public HttpConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.
-
VertxHttpConfig.