public class SpringCloudFunction extends SpringCloudMethod
SpringCloudMethod representing a Function| Constructor and Description |
|---|
SpringCloudFunction(Function<reactor.core.publisher.Flux<?>,reactor.core.publisher.Flux<?>> function,
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.
|
reactor.core.publisher.Flux<?> |
invoke(reactor.core.publisher.Flux<?> arg)
Invoke the target function object
|
getParamType, getReturnType, getTargetClass, getTargetMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLongName, getParameterCountpublic SpringCloudFunction(Function<reactor.core.publisher.Flux<?>,reactor.core.publisher.Flux<?>> function, 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 reactor.core.publisher.Flux<?> invoke(reactor.core.publisher.Flux<?> arg)
SpringCloudMethodinvoke in class SpringCloudMethodarg - fuction invoke argumentsCopyright © 2021. All rights reserved.