Package io.micronaut.http.bind.binders
Class PartAnnotationBinder<T>
- java.lang.Object
-
- io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<Part,T,HttpRequest<?>>
-
- 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 io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<Part,T,HttpRequest<?>> implements AnnotatedRequestArgumentBinder<Part,T>
Skips binding parts because they should be handled by a multipart processor.- Since:
- 3.6.4
-
-
Constructor Summary
Constructors Constructor Description PartAnnotationBinder(io.micronaut.core.convert.ConversionService<?> conversionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
java.lang.Class<Part>
getAnnotationType()
-
-
-
Method Detail
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
- Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>
-
getAnnotationType
public java.lang.Class<Part> getAnnotationType()
- Specified by:
getAnnotationType
in interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Part,T,HttpRequest<?>>
-
-