Class HttpBuildTimeConfig
-
Field Summary
Modifier and TypeFieldDescriptionThe compression level used when compression support is enabled.List of media types for which the compression should be enabled automatically, unless declared explicitly viaCompressed
orUncompressed
.boolean
If enabled then the response body is compressed if theContent-Type
header is set and the value is a compressed media type as configured viacompressMediaTypes
.boolean
When enabled, vert.x will decompress the request's body if it's compressed.A common root path for non-application endpoints.The HTTP root path.The REST Assured client timeout for testing.io.vertx.core.http.ClientAuth
Configures the engine to require/request client authentication.boolean
If this is true then only a virtual channel will be set up for vertx web. -
Constructor Summary
-
Method Summary
-
Field Details
-
rootPath
@ConfigItem(defaultValue="/") @ConvertWith(io.quarkus.runtime.configuration.NormalizeRootHttpPathConverter.class) public String rootPathThe HTTP root path. All web content will be served relative to this root path. -
auth
-
tlsClientAuth
@ConfigItem(name="ssl.client-auth", defaultValue="NONE") public io.vertx.core.http.ClientAuth tlsClientAuthConfigures the engine to require/request client authentication.NONE, REQUEST, REQUIRED
.When set to
REQUIRED
, it's recommended to also set `quarkus.http.insecure-requests=disabled` to disable the plain HTTP port. If `quarkus.http.insecure-requests` is not set, but this parameter is set toREQUIRED
, then, `quarkus.http.insecure-requests` is automatically set to `disabled`. -
virtual
If this is true then only a virtual channel will be set up for vertx web. We have this switch for testing purposes. -
nonApplicationRootPath
A common root path for non-application endpoints. Various extension-provided endpoints such as metrics, health, and openapi are deployed under this path by default.* Relative path (Default, `q`) -> Non-application endpoints will be served from `${quarkus.http.root-path}/${quarkus.http.non-application-root-path}`. * Absolute path (`/q`) -> Non-application endpoints will be served from the specified path. * `${quarkus.http.root-path}` -> Setting this path to the same value as HTTP root path disables this root path. All extension-provided endpoints will be served from `${quarkus.http.root-path}`.
If the management interface is enabled, the root path for the endpoints exposed on the management interface is configured using the `quarkus.management.root-path` property instead of this property.
-
testTimeout
The REST Assured client timeout for testing. -
enableCompression
If enabled then the response body is compressed if theContent-Type
header 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
Compressed
andUncompressed
. -
enableDecompression
When enabled, vert.x will decompress the request's body if it's compressed.Note that the compression format (e.g., gzip) must be specified in the Content-Encoding header in the request.
-
compressMediaTypes
@ConfigItem(defaultValue="text/html,text/plain,text/xml,text/css,text/javascript,application/javascript,application/graphql+json") public Optional<List<String>> compressMediaTypesList of media types for which the compression should be enabled automatically, unless declared explicitly viaCompressed
orUncompressed
. -
compressionLevel
The compression level used when compression support is enabled.
-
-
Constructor Details
-
HttpBuildTimeConfig
public HttpBuildTimeConfig()
-