Class AttributesConvertibleValues
java.lang.Object
io.micronaut.security.ldap.context.AttributesConvertibleValues
- All Implemented Interfaces:
io.micronaut.core.convert.ConversionServiceProvider,io.micronaut.core.convert.value.ConvertibleValues<Object>,io.micronaut.core.value.ValueResolver<CharSequence>,Iterable<Map.Entry<String,Object>>
public class AttributesConvertibleValues
extends Object
implements io.micronaut.core.convert.value.ConvertibleValues<Object>
A
ConvertibleValues implementation that uses Attributes as
the backing data source.- Since:
- 1.0
- Author:
- James Kleeh
-
Field Summary
Fields inherited from interface io.micronaut.core.convert.value.ConvertibleValues
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>get(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) names()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.convert.value.ConvertibleValues
asMap, asMap, asProperties, contains, forEach, getConversionService, getValue, getValueType, isEmpty, iterator, subMap, subMap, subMapMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface io.micronaut.core.value.ValueResolver
get, get, get
-
Constructor Details
-
AttributesConvertibleValues
- Parameters:
attributes- The attributes
-
-
Method Details
-
names
- Specified by:
namesin interfaceio.micronaut.core.convert.value.ConvertibleValues<Object>
-
values
- Specified by:
valuesin interfaceio.micronaut.core.convert.value.ConvertibleValues<Object>
-
get
public <T> Optional<T> get(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) - Specified by:
getin interfaceio.micronaut.core.value.ValueResolver<CharSequence>
-