Class MaybeBodyBinder
java.lang.Object
io.micronaut.rxjava2.server.upload.binders.MaybeBodyBinder
- All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.http.annotation.Body,,io.reactivex.Maybe, io.micronaut.http.HttpRequest<?>> io.micronaut.core.bind.ArgumentBinder<io.reactivex.Maybe,,io.micronaut.http.HttpRequest<?>> io.micronaut.core.bind.TypeArgumentBinder<io.reactivex.Maybe,,io.micronaut.http.HttpRequest<?>> io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<io.micronaut.http.annotation.Body,,io.reactivex.Maybe> io.micronaut.http.bind.binders.BodyArgumentBinder<io.reactivex.Maybe>,io.micronaut.http.bind.binders.NonBlockingBodyArgumentBinder<io.reactivex.Maybe>,io.micronaut.http.bind.binders.RequestArgumentBinder<io.reactivex.Maybe>,io.micronaut.http.bind.binders.TypedRequestArgumentBinder<io.reactivex.Maybe>
@Internal
public class MaybeBodyBinder
extends Object
implements io.micronaut.http.bind.binders.NonBlockingBodyArgumentBinder<io.reactivex.Maybe>
Bindings
Body arguments of type Maybe.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.micronaut.core.type.Argument<io.reactivex.Maybe> -
Constructor Summary
ConstructorsConstructorDescriptionMaybeBodyBinder(io.micronaut.http.bind.binders.BodyArgumentBinder<org.reactivestreams.Publisher<Object>> publisherBodyBinder) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<io.reactivex.Maybe>io.micronaut.core.bind.ArgumentBinder.BindingResult<io.reactivex.Maybe>bind(io.micronaut.core.convert.ArgumentConversionContext<io.reactivex.Maybe> context, io.micronaut.http.HttpRequest<?> source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.http.bind.binders.BodyArgumentBinder
getAnnotationTypeMethods inherited from interface io.micronaut.http.bind.binders.RequestArgumentBinder
createSpecificMethods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder
matches
-
Field Details
-
TYPE
public static final io.micronaut.core.type.Argument<io.reactivex.Maybe> TYPE
-
-
Constructor Details
-
MaybeBodyBinder
public MaybeBodyBinder(io.micronaut.http.bind.binders.BodyArgumentBinder<org.reactivestreams.Publisher<Object>> publisherBodyBinder) - Parameters:
publisherBodyBinder- the publisher body binder
-
-
Method Details
-
superTypes
- Specified by:
superTypesin interfaceio.micronaut.http.bind.binders.TypedRequestArgumentBinder<io.reactivex.Maybe>
-
argumentType
public io.micronaut.core.type.Argument<io.reactivex.Maybe> argumentType()- Specified by:
argumentTypein interfaceio.micronaut.core.bind.TypeArgumentBinder<io.reactivex.Maybe,io.micronaut.http.HttpRequest<?>>
-
bind
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) - Specified by:
bindin interfaceio.micronaut.core.bind.ArgumentBinder<io.reactivex.Maybe,io.micronaut.http.HttpRequest<?>>
-