Uses of Interface
org.springframework.boot.context.properties.bind.BindHandler
Packages that use 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
Methods in org.springframework.boot.context.properties that return BindHandlerModifier and TypeMethodDescriptionConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) Apply additional functionality to the source bind handler.Methods in org.springframework.boot.context.properties with parameters of type BindHandlerModifier and TypeMethodDescriptionConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) Apply additional functionality to the source bind handler. -
Uses of BindHandler in org.springframework.boot.context.properties.bind
Classes in org.springframework.boot.context.properties.bind that implement BindHandlerModifier and TypeClassDescriptionclass
Abstract base class forBindHandler
implementations.class
BindHandler
that can be used to track bound configuration properties.Fields in org.springframework.boot.context.properties.bind declared as BindHandlerModifier and TypeFieldDescriptionstatic final BindHandler
BindHandler.DEFAULT
Default no-op bind handler.Methods in org.springframework.boot.context.properties.bind with parameters of type BindHandlerModifier and TypeMethodDescription<T> BindResult
<T> Binder.bind
(String name, Bindable<T> target, @Nullable BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
.<T> BindResult
<T> Binder.bind
(ConfigurationPropertyName name, Bindable<T> target, @Nullable 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, @Nullable 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, @Nullable BindHandler defaultBindHandler) Create a newBinder
instance from the specified environment.Constructors in org.springframework.boot.context.properties.bind with parameters of type BindHandlerModifierConstructorDescriptionAbstractBindHandler
(BindHandler parent) Create a new binding handler instance with a specific parent.Binder
(Iterable<ConfigurationPropertySource> sources, @Nullable PlaceholdersResolver placeholdersResolver, @Nullable List<ConversionService> conversionServices, @Nullable Consumer<PropertyEditorRegistry> propertyEditorInitializer, @Nullable BindHandler defaultBindHandler, @Nullable BindConstructorProvider constructorProvider) Create a newBinder
instance for the specified sources.Binder
(Iterable<ConfigurationPropertySource> sources, @Nullable PlaceholdersResolver placeholdersResolver, @Nullable ConversionService conversionService, @Nullable Consumer<PropertyEditorRegistry> propertyEditorInitializer, @Nullable BindHandler defaultBindHandler) Create a newBinder
instance for the specified sources.Binder
(Iterable<ConfigurationPropertySource> sources, @Nullable PlaceholdersResolver placeholdersResolver, @Nullable ConversionService conversionService, @Nullable Consumer<PropertyEditorRegistry> propertyEditorInitializer, @Nullable BindHandler defaultBindHandler, @Nullable BindConstructorProvider constructorProvider) Create a newBinder
instance for the specified sources. -
Uses of BindHandler in org.springframework.boot.context.properties.bind.handler
Classes in org.springframework.boot.context.properties.bind.handler that implement BindHandlerModifier 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.Constructors in org.springframework.boot.context.properties.bind.handler with parameters of type BindHandlerModifierConstructorDescriptionIgnoreErrorsBindHandler
(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
Classes in org.springframework.boot.context.properties.bind.validation that implement BindHandlerConstructors in org.springframework.boot.context.properties.bind.validation with parameters of type BindHandler