@Internal
public class MaybeBodyBinder
extends io.micronaut.http.bind.binders.DefaultBodyAnnotationBinder<io.reactivex.Maybe>
implements io.micronaut.http.bind.binders.NonBlockingBodyArgumentBinder<io.reactivex.Maybe>
Body
arguments of type Maybe
.Modifier and Type | Field and Description |
---|---|
static io.micronaut.core.type.Argument<io.reactivex.Maybe> |
TYPE |
Constructor and Description |
---|
MaybeBodyBinder(io.micronaut.core.convert.ConversionService conversionService,
io.micronaut.http.server.netty.HttpContentProcessorResolver httpContentProcessorResolver) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<io.reactivex.Maybe> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<io.reactivex.Maybe> |
bind(io.micronaut.core.convert.ArgumentConversionContext<io.reactivex.Maybe> context,
io.micronaut.http.HttpRequest<?> source) |
java.util.List<java.lang.Class<?>> |
superTypes() |
getAnnotationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MaybeBodyBinder(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.http.server.netty.HttpContentProcessorResolver httpContentProcessorResolver)
conversionService
- The conversion servicehttpContentProcessorResolver
- The http content processor resolver@NonNull public java.util.List<java.lang.Class<?>> superTypes()
superTypes
in interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder<io.reactivex.Maybe>
public io.micronaut.core.type.Argument<io.reactivex.Maybe> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<io.reactivex.Maybe,io.micronaut.http.HttpRequest<?>>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<io.reactivex.Maybe> bind(io.micronaut.core.convert.ArgumentConversionContext<io.reactivex.Maybe> context, io.micronaut.http.HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<io.reactivex.Maybe,io.micronaut.http.HttpRequest<?>>
bind
in class io.micronaut.http.bind.binders.DefaultBodyAnnotationBinder<io.reactivex.Maybe>