private static class StandaloneMockMvcBuilder.StaticStringValueResolver extends java.lang.Object implements StringValueResolver
| Modifier and Type | Field and Description |
|---|---|
private PropertyPlaceholderHelper |
helper |
private PropertyPlaceholderHelper.PlaceholderResolver |
resolver |
| Constructor and Description |
|---|
StaticStringValueResolver(java.util.Map<java.lang.String,java.lang.String> values) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolveStringValue(java.lang.String strVal)
Resolve the given String value, for example parsing placeholders.
|
private final PropertyPlaceholderHelper helper
private final PropertyPlaceholderHelper.PlaceholderResolver resolver
public StaticStringValueResolver(java.util.Map<java.lang.String,java.lang.String> values)
public java.lang.String resolveStringValue(java.lang.String strVal)
throws BeansException
StringValueResolverresolveStringValue in interface StringValueResolverstrVal - the original String value (never null)null when resolved to a null
value), possibly the original String value itself (in case of no placeholders
to resolve or when ignoring unresolvable placeholders)BeansException