public class SpringCloudSupplier extends SpringCloudMethod
SpringCloudMethod representing a Supplier| Constructor and Description |
|---|
SpringCloudSupplier(Supplier<reactor.core.publisher.Flux<?>> supplier,
org.springframework.cloud.function.context.catalog.FunctionInspector inspector) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getFunction()
Returns the target function object as an
Object. |
protected String |
getMethodName()
Returns the name of the method used to invoke the function object.
|
TypeWrapper |
getParamType(int i) |
reactor.core.publisher.Flux<?> |
invoke(reactor.core.publisher.Flux<?> arg)
Invoke the target function object
|
getReturnType, getTargetClass, getTargetMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLongName, getParameterCountpublic SpringCloudSupplier(Supplier<reactor.core.publisher.Flux<?>> supplier, org.springframework.cloud.function.context.catalog.FunctionInspector inspector)
protected String getMethodName()
SpringCloudMethodapply for Function,
accept for Consumer,
get for SuppliergetMethodName in class SpringCloudMethodprotected Object getFunction()
SpringCloudMethodObject.
(used for type inspection purposes)getFunction in class SpringCloudMethodpublic TypeWrapper getParamType(int i)
getParamType in interface MethodWrappergetParamType in class SpringCloudMethodpublic reactor.core.publisher.Flux<?> invoke(reactor.core.publisher.Flux<?> arg)
SpringCloudMethodinvoke in class SpringCloudMethodarg - fuction invoke argumentsCopyright © 2021. All rights reserved.