Class SimpleFunctionRegistry.FunctionInvocationWrapper
java.lang.Object
org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry.FunctionInvocationWrapper
- Enclosing class:
- SimpleFunctionRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
get()
!!! INTERNAL USE ONLY !!! This is primarily to support s-c-Stream's ability to access un-converted payload (e.g., to evaluate expression on some attribute of a payload) It is not intended to remain here and will be removed as soon as particular elements of stream will be refactored to address this.Returns the definition of this function.Deprecated.since 3.1getItemType
(Type type) Return the actualType
of the item of the provided type.Class<?>
Class<?>
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
run()
void
setEnhancer
(Function<Object, Object> enhancer) !!! INTERNAL USE ONLY !!! This is primarily to support s-c-Stream's ability to access un-converted payload (e.g., to evaluate expression on some attribute of a payload) It is not intended to remain here and will be removed as soon as particular elements of stream will be refactored to address this.void
setSkipInputConversion
(boolean skipInputConversion) void
setSkipOutputConversion
(boolean skipOutputConversion) toString()
-
Method Details
-
isSkipOutputConversion
public boolean isSkipOutputConversion() -
isPrototype
public boolean isPrototype() -
setSkipInputConversion
public void setSkipInputConversion(boolean skipInputConversion) -
setSkipOutputConversion
public void setSkipOutputConversion(boolean skipOutputConversion) -
getEnhancer
!!! INTERNAL USE ONLY !!! This is primarily to support s-c-Stream's ability to access un-converted payload (e.g., to evaluate expression on some attribute of a payload) It is not intended to remain here and will be removed as soon as particular elements of stream will be refactored to address this. -
setEnhancer
!!! INTERNAL USE ONLY !!! This is primarily to support s-c-Stream's ability to access un-converted payload (e.g., to evaluate expression on some attribute of a payload) It is not intended to remain here and will be removed as soon as particular elements of stream will be refactored to address this. -
getTarget
-
getOutputType
-
getInputType
-
getItemType
Return the actualType
of the item of the provided type. This method is context specific and is not a general purpose utility method. The context is that the providedType
may represent the input/output of a function where such type could be wrapped inMessage
,Flux
orMono
, so this method returns generic value of such type or itself if not wrapped.- Parameters:
type
- typically input or output Type of the function (seegetInputType()
orgetOutputType()
.- Returns:
- the type of the item if wrapped otherwise the provided type.
-
getFunctionType
Deprecated.since 3.1Use individualgetInputType()
,getOutputType()
and their variants as well as other supporting operations instead. -
getRawOutputType
-
getRawInputType
-
apply
-
get
-
accept
-
run
public void run() -
isConsumer
public boolean isConsumer() -
isSupplier
public boolean isSupplier() -
isFunction
public boolean isFunction() -
isInputTypePublisher
public boolean isInputTypePublisher() -
isOutputTypePublisher
public boolean isOutputTypePublisher() -
isInputTypeMessage
public boolean isInputTypeMessage() -
isOutputTypeMessage
public boolean isOutputTypeMessage() -
isRoutingFunction
public boolean isRoutingFunction() -
andThen
-
getFunctionDefinition
Returns the definition of this function.- Returns:
- function definition
-
toString
-