Class HandlerConfigurationProviderBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.resteasy.reactive.server.spi.HandlerConfigurationProviderBuildItem
-
public final class HandlerConfigurationProviderBuildItem extends io.quarkus.builder.item.MultiBuildItemBuild time that allows extensions to register a way to provide a value for configuration that is provided at runtime and that is needed by implementations ofGenericRuntimeConfigurableServerRestHandler. Extensions are meant to create these build items by passing the configuration class as the first constructor argument, and using a recorder to return aSupplierthat will provide a value of that class as the second argument constructor. Ideally we would have used generic to make things more type safe, but generics cannot be used in build items.
-
-
Constructor Summary
Constructors Constructor Description HandlerConfigurationProviderBuildItem(Class configClass, Supplier valueSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassgetConfigClass()SuppliergetValueSupplier()
-