Class CombinedWebJarResourcesFilter
java.lang.Object
io.quarkus.vertx.http.deployment.webjar.CombinedWebJarResourcesFilter
- All Implemented Interfaces:
WebJarResourcesFilter
WebJarResourcesFilter which combines several other filters. Each filter gets called with the inputstream of the previous
filter, or the original one if it is the first filter. Filters are processed in order.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.vertx.http.deployment.webjar.WebJarResourcesFilter
WebJarResourcesFilter.FilterResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(String fileName, InputStream stream) Filter web jar resources.
-
Constructor Details
-
CombinedWebJarResourcesFilter
-
-
Method Details
-
apply
public WebJarResourcesFilter.FilterResult apply(String fileName, InputStream stream) throws IOException Description copied from interface:WebJarResourcesFilterFilter web jar resources. Can either update or not update the content of a web jars resource, or not include a resource at all.- Specified by:
applyin interfaceWebJarResourcesFilter- Parameters:
fileName- path and name of the resource inside the webjar, starting from the webJarRoot.stream- current resource content, might be null- Returns:
- a FilterResult, never null
- Throws:
IOException
-