Class RabbitHeadersBinder

java.lang.Object
io.micronaut.rabbitmq.bind.RabbitHeadersBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RabbitHeaders,Object,RabbitConsumerState>, io.micronaut.core.bind.ArgumentBinder<Object,RabbitConsumerState>, RabbitAnnotatedArgumentBinder<RabbitHeaders>, RabbitArgumentBinder<Object>

@Singleton public class RabbitHeadersBinder extends Object implements RabbitAnnotatedArgumentBinder<RabbitHeaders>
Binds an argument of with the RabbitHeaders annotation from the RabbitConsumerState.
Since:
2.5.0
Author:
James Kleeh
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RabbitHeadersBinder(io.micronaut.core.convert.ConversionService conversionService)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<Object>
    bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState source)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.bind.ArgumentBinder

    createSpecific
  • Constructor Details

    • RabbitHeadersBinder

      public RabbitHeadersBinder(io.micronaut.core.convert.ConversionService conversionService)
      Default constructor.
      Parameters:
      conversionService - The conversion service to convert the body
  • Method Details