T - A typepublic class DefaultBodyAnnotationBinder<T> extends java.lang.Object implements BodyArgumentBinder<T>
| Modifier and Type | Field and Description |
|---|---|
protected io.micronaut.core.convert.ConversionService<?> |
conversionService |
| Constructor and Description |
|---|
DefaultBodyAnnotationBinder(io.micronaut.core.convert.ConversionService conversionService) |
| Modifier and Type | Method and Description |
|---|---|
io.micronaut.core.bind.ArgumentBinder.BindingResult<T> |
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context,
HttpRequest<?> source) |
java.lang.Class<Body> |
getAnnotationType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofprotected final io.micronaut.core.convert.ConversionService<?> conversionService
public DefaultBodyAnnotationBinder(io.micronaut.core.convert.ConversionService conversionService)
conversionService - The conversion servicepublic java.lang.Class<Body> getAnnotationType()
getAnnotationType in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<Body,T,HttpRequest<?>>getAnnotationType in interface BodyArgumentBinder<T>public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, HttpRequest<?> source)
bind in interface io.micronaut.core.bind.ArgumentBinder<T,HttpRequest<?>>