public class RabbitHeaderConvertibleValues
extends java.lang.Object
implements io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
Constructor and Description |
---|
RabbitHeaderConvertibleValues(java.util.Map<java.lang.String,java.lang.Object> headers,
io.micronaut.core.convert.ConversionService<?> conversionService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) |
java.util.List<io.micronaut.core.convert.ConversionError> |
getConversionErrors() |
java.util.Set<java.lang.String> |
names() |
java.util.Collection<java.lang.Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RabbitHeaderConvertibleValues(java.util.Map<java.lang.String,java.lang.Object> headers, io.micronaut.core.convert.ConversionService<?> conversionService)
headers
- The RabbitMQ headersconversionService
- The conversion servicepublic java.util.Set<java.lang.String> names()
names
in interface io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
public <T> java.util.Optional<T> get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
get
in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>
public java.util.List<io.micronaut.core.convert.ConversionError> getConversionErrors()