Package | Description |
---|---|
org.springframework.boot.context.properties |
Support for external configuration properties.
|
org.springframework.boot.context.properties.bind |
Support for
@ConfigurationProperties binding. |
org.springframework.boot.context.properties.bind.handler |
General
BindHandler implementations. |
org.springframework.boot.context.properties.bind.validation |
Binding validation support.
|
Modifier and Type | Method and Description |
---|---|
BindHandler |
ConfigurationPropertiesBindHandlerAdvisor.apply(BindHandler bindHandler)
Apply additional functionality to the source bind handler.
|
Modifier and Type | Method and Description |
---|---|
BindHandler |
ConfigurationPropertiesBindHandlerAdvisor.apply(BindHandler bindHandler)
Apply additional functionality to the source bind handler.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBindHandler
Abstract base class for
BindHandler implementations. |
Modifier and Type | Field and Description |
---|---|
static BindHandler |
BindHandler.DEFAULT
Default no-op bind handler.
|
Modifier and Type | Method and Description |
---|---|
<T> BindResult<T> |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binder's
property sources . |
protected <T> T |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target,
BindHandler handler,
org.springframework.boot.context.properties.bind.Binder.Context context,
boolean allowRecursiveBinding) |
<T> BindResult<T> |
Binder.bind(String name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binder's
property sources . |
Constructor and Description |
---|
AbstractBindHandler(BindHandler parent)
Create a new binding handler instance with a specific parent.
|
Modifier and Type | Class and Description |
---|---|
class |
IgnoreErrorsBindHandler
BindHandler that can be used to ignore binding errors. |
class |
IgnoreTopLevelConverterNotFoundBindHandler
BindHandler that can be used to ignore top-level
ConverterNotFoundException s. |
class |
NoUnboundElementsBindHandler
BindHandler to enforce that all configuration properties under the root name
have been bound. |
Constructor and Description |
---|
IgnoreErrorsBindHandler(BindHandler parent) |
IgnoreTopLevelConverterNotFoundBindHandler(BindHandler parent)
Create a new
IgnoreTopLevelConverterNotFoundBindHandler instance with a
specific parent. |
NoUnboundElementsBindHandler(BindHandler parent) |
NoUnboundElementsBindHandler(BindHandler parent,
Function<ConfigurationPropertySource,Boolean> filter) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationBindHandler
BindHandler to apply Validators to bound results. |
Constructor and Description |
---|
ValidationBindHandler(BindHandler parent,
Validator... validators) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.