T
- The body typepublic class ServletBodyBinder<T>
extends io.micronaut.http.bind.binders.DefaultBodyAnnotationBinder<T>
implements io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<io.micronaut.http.annotation.Body,T>
ServletHttpRequest
.Modifier | Constructor and Description |
---|---|
protected |
ServletBodyBinder(io.micronaut.core.convert.ConversionService<?> conversionService,
io.micronaut.http.codec.MediaTypeCodecRegistry mediaTypeCodecRegistry)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.bind.ArgumentBinder.BindingResult<T> |
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context,
io.micronaut.http.HttpRequest<?> source) |
java.lang.Class<io.micronaut.http.annotation.Body> |
getAnnotationType() |
protected ServletBodyBinder(io.micronaut.core.convert.ConversionService<?> conversionService, io.micronaut.http.codec.MediaTypeCodecRegistry mediaTypeCodecRegistry)
conversionService
- The conversion servicemediaTypeCodecRegistry
- The codec registrypublic java.lang.Class<io.micronaut.http.annotation.Body> getAnnotationType()
getAnnotationType
in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.http.annotation.Body,T,io.micronaut.http.HttpRequest<?>>
getAnnotationType
in interface io.micronaut.http.bind.binders.BodyArgumentBinder<T>
getAnnotationType
in class io.micronaut.http.bind.binders.DefaultBodyAnnotationBinder<T>