public abstract class SpringCloudMethod extends Object implements MethodWrapper
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
getFunction()
Returns the target function object as an
Object. |
protected abstract String |
getMethodName()
Returns the name of the method used to invoke the function object.
|
TypeWrapper |
getParamType(int index) |
TypeWrapper |
getReturnType() |
Class<?> |
getTargetClass() |
Method |
getTargetMethod() |
abstract reactor.core.publisher.Flux<?> |
invoke(reactor.core.publisher.Flux<?> arg)
Invoke the target function object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLongName, getParameterCountpublic Class<?> getTargetClass()
getTargetClass in interface MethodWrapperpublic Method getTargetMethod()
getTargetMethod in interface MethodWrapperprotected abstract String getMethodName()
apply for Function,
accept for Consumer,
get for Supplierprotected abstract Object getFunction()
Object.
(used for type inspection purposes)public TypeWrapper getParamType(int index)
getParamType in interface MethodWrapperpublic TypeWrapper getReturnType()
getReturnType in interface MethodWrapperpublic abstract reactor.core.publisher.Flux<?> invoke(reactor.core.publisher.Flux<?> arg)
arg - fuction invoke argumentsCopyright © 2021. All rights reserved.