Interface BodyArgumentBinder<T>

Type Parameters:
T - A type
All Superinterfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Body,T,HttpRequest<?>>, AnnotatedRequestArgumentBinder<Body,T>, io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>, RequestArgumentBinder<T>
All Known Subinterfaces:
NonBlockingBodyArgumentBinder<T>
All Known Implementing Classes:
DefaultBodyAnnotationBinder

public interface BodyArgumentBinder<T> extends AnnotatedRequestArgumentBinder<Body,T>
A binder that binds from a parsed request body.
Since:
1.0
  • Nested Class Summary

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

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

    Modifier and Type
    Method
    Description
    default Class<Body>
     

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

    bind
  • Method Details

    • getAnnotationType

      default Class<Body> getAnnotationType()
      Specified by:
      getAnnotationType in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Body,T,HttpRequest<?>>
      Returns:
      The required annotation type