Uses of Interface
org.springframework.boot.context.properties.bind.BindHandler
Package
Description
Support for external configuration properties.
Support for
@ConfigurationProperties
binding.General
BindHandler
implementations.Binding validation support.
-
Uses of BindHandler in org.springframework.boot.context.properties
Modifier and TypeMethodDescriptionConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) Apply additional functionality to the source bind handler.Modifier and TypeMethodDescriptionConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) Apply additional functionality to the source bind handler. -
Uses of BindHandler in org.springframework.boot.context.properties.bind
Modifier and TypeClassDescriptionclass
Abstract base class forBindHandler
implementations.class
BindHandler
that can be used to track bound configuration properties.Modifier and TypeFieldDescriptionstatic final BindHandler
BindHandler.DEFAULT
Default no-op bind handler.Modifier and TypeMethodDescription<T> BindResult<T>
Binder.bind
(String name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
.<T> BindResult<T>
Binder.bind
(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
.<T> T
Binder.bindOrCreate
(String name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
or create a new instance using the type of theBindable
if the result of the binding isnull
.<T> T
Binder.bindOrCreate
(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
or create a new instance using the type of theBindable
if the result of the binding isnull
.static Binder
Binder.get
(Environment environment, BindHandler defaultBindHandler) Create a newBinder
instance from the specified environment.ModifierConstructorDescriptionAbstractBindHandler
(BindHandler parent) Create a new binding handler instance with a specific parent.Binder
(Iterable<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, List<ConversionService> conversionServices, Consumer<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider) Create a newBinder
instance for the specified sources.Binder
(Iterable<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, ConversionService conversionService, Consumer<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler) Create a newBinder
instance for the specified sources.Binder
(Iterable<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, ConversionService conversionService, Consumer<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider) Create a newBinder
instance for the specified sources. -
Uses of BindHandler in org.springframework.boot.context.properties.bind.handler
Modifier and TypeClassDescriptionclass
BindHandler
that can be used to ignore binding errors.class
BindHandler
that can be used to ignore top-levelConverterNotFoundException
s.class
BindHandler
to enforce that all configuration properties under the root name have been bound.ModifierConstructorDescriptionIgnoreErrorsBindHandler
(BindHandler parent) Create a newIgnoreTopLevelConverterNotFoundBindHandler
instance with a specific parent.NoUnboundElementsBindHandler
(BindHandler parent, Function<ConfigurationPropertySource, Boolean> filter) -
Uses of BindHandler in org.springframework.boot.context.properties.bind.validation