Package io.quarkus.vertx.http.runtime
Interface FilterConfig
public interface FilterConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf enabled, headers are applied only when the response status code is in the 2xx range.header()Additional HTTP Headers always sent in the responsematches()A regular expression for the paths matching this configurationmethods()The HTTP methods for this path configurationorder()Order in which this path config is applied.
-
Method Details
-
matches
String matches()A regular expression for the paths matching this configuration -
header
Additional HTTP Headers always sent in the response -
methods
The HTTP methods for this path configuration -
order
OptionalInt order()Order in which this path config is applied. Higher priority takes precedence -
applyOnSuccess
@WithDefault("false") boolean applyOnSuccess()If enabled, headers are applied only when the response status code is in the 2xx range. This is useful to avoid caching error responses at CDNs when using aggressiveCache-Controlheaders.
-