Class ServletPartBinder<T>

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

public class ServletPartBinder<T> extends Object implements io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<io.micronaut.http.annotation.Part,T>
A binder capable of binding servlet multipart requests.
Since:
1.0.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>
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
    bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, io.micronaut.http.HttpRequest<?> source)
     
    Class<io.micronaut.http.annotation.Part>
     

    Methods inherited from class java.lang.Object

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

    • getAnnotationType

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

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