Class PartAnnotationBinder<T>

java.lang.Object
io.micronaut.http.bind.binders.PartAnnotationBinder<T>
Type Parameters:
T - The part type
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Part,T,HttpRequest<?>>, io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>, AnnotatedRequestArgumentBinder<Part,T>, RequestArgumentBinder<T>

public class PartAnnotationBinder<T> extends Object implements AnnotatedRequestArgumentBinder<Part,T>
Skips binding parts because they should be handled by a multipart processor.
Since:
3.6.4
  • Constructor Details

    • PartAnnotationBinder

      public PartAnnotationBinder()
  • Method Details

    • bind

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

      public Class<Part> getAnnotationType()
      Specified by:
      getAnnotationType in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Part,T,HttpRequest<?>>