Class RequestAttributeArgumentBinder

java.lang.Object
io.micronaut.spring.web.bind.RequestAttributeArgumentBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<org.springframework.web.bind.annotation.RequestAttribute,Object,io.micronaut.http.HttpRequest<?>>, io.micronaut.core.bind.ArgumentBinder<Object,io.micronaut.http.HttpRequest<?>>, io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<org.springframework.web.bind.annotation.RequestAttribute,Object>, io.micronaut.http.bind.binders.RequestArgumentBinder<Object>

@Singleton @Requires(classes=org.springframework.web.bind.annotation.RequestAttribute.class) public class RequestAttributeArgumentBinder extends Object implements io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<org.springframework.web.bind.annotation.RequestAttribute,Object>
Binds request attributes.
Since:
1.0
Author:
graemerocher
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<Object>
    bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, io.micronaut.http.HttpRequest<?> source)
     
    Class<org.springframework.web.bind.annotation.RequestAttribute>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RequestAttributeArgumentBinder

      public RequestAttributeArgumentBinder()
  • Method Details

    • getAnnotationType

      public Class<org.springframework.web.bind.annotation.RequestAttribute> getAnnotationType()
      Specified by:
      getAnnotationType in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<org.springframework.web.bind.annotation.RequestAttribute,Object,io.micronaut.http.HttpRequest<?>>
    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<Object> bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, io.micronaut.http.HttpRequest<?> source)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<Object,io.micronaut.http.HttpRequest<?>>