Package io.micronaut.http.bind.binders
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
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.Class<Body>getAnnotationType()
-
-
-
Method Detail
-
getAnnotationType
default java.lang.Class<Body> getAnnotationType()
- Specified by:
getAnnotationTypein interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Body,T,HttpRequest<?>>- Returns:
- The required annotation type
-
-