public abstract class AbstractDubboConfigBinder extends Object implements DubboConfigBinder
DubboConfigBinder implementation| Constructor and Description |
|---|
AbstractDubboConfigBinder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreInvalidFields() |
boolean |
isIgnoreUnknownFields() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setIgnoreInvalidFields(boolean ignoreInvalidFields)
Set whether to ignore invalid fields, that is, whether to ignore bind
parameters that have corresponding fields in the target object which are
not accessible (for example because of null values in the nested path).
|
void |
setIgnoreUnknownFields(boolean ignoreUnknownFields)
Set whether to ignore unknown fields, that is, whether to ignore bind
parameters that do not have corresponding fields in the target object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindpublic boolean isIgnoreUnknownFields()
public void setIgnoreUnknownFields(boolean ignoreUnknownFields)
DubboConfigBinderDefault is "true". Turn this off to enforce that all bind parameters must have a matching field in the target object.
setIgnoreUnknownFields in interface DubboConfigBinderDubboConfigBinder.bind(java.lang.String, C)public boolean isIgnoreInvalidFields()
public void setIgnoreInvalidFields(boolean ignoreInvalidFields)
DubboConfigBinderDefault is "false".
setIgnoreInvalidFields in interface DubboConfigBinderDubboConfigBinder.bind(java.lang.String, C)public final void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.