Package io.quarkus.vertx.http.runtime
Class HttpBuildTimeConfig
java.lang.Object
io.quarkus.vertx.http.runtime.HttpBuildTimeConfig
@Deprecated(forRemoval=true,
since="3.19")
@ConfigRoot(name="http",
phase=BUILD_AND_RUN_TIME_FIXED)
public class HttpBuildTimeConfig
extends Object
Deprecated, 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.List of media types for which the compression should be enabled automatically, unless declared explicitly viaCompressedorUncompressed.booleanDeprecated, for removal: This API element is subject to removal in a future version.If enabled then the response body is compressed if theContent-Typeheader is set and the value is a compressed media type as configured viacompressMediaTypes.Deprecated, for removal: This API element is subject to removal in a future version.The HTTP root path. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Field Details
-
rootPath
@ConfigItem(defaultValue="/", generateDocumentation=false) @ConvertWith(io.quarkus.runtime.configuration.NormalizeRootHttpPathConverter.class) public String rootPathDeprecated, for removal: This API element is subject to removal in a future version.The HTTP root path. All web content will be served relative to this root path. -
enableCompression
Deprecated, for removal: This API element is subject to removal in a future version.If enabled then the response body is compressed if theContent-Typeheader is set and the value is a compressed media type as configured viacompressMediaTypes.Note that the RESTEasy Reactive and Reactive Routes extensions also make it possible to enable/disable compression declaratively using the annotations
CompressedandUncompressed. -
compressMediaTypes
@ConfigItem(defaultValue="text/html,text/plain,text/xml,text/css,text/javascript,application/javascript,application/json,application/graphql+json,application/xhtml+xml", generateDocumentation=false) public Optional<List<String>> compressMediaTypesDeprecated, for removal: This API element is subject to removal in a future version.List of media types for which the compression should be enabled automatically, unless declared explicitly viaCompressedorUncompressed.
-
-
Constructor Details
-
HttpBuildTimeConfig
public HttpBuildTimeConfig()Deprecated, for removal: This API element is subject to removal in a future version.
-
VertxHttpBuildTimeConfig.