Class RequestProcessor.FunctionWrapper
- java.lang.Object
-
- org.springframework.cloud.function.web.RequestProcessor.FunctionWrapper
-
- Enclosing class:
- RequestProcessor
public static class RequestProcessor.FunctionWrapper extends Object
Wrapper for functions.
-
-
Constructor Summary
Constructors Constructor Description FunctionWrapper(SimpleFunctionRegistry.FunctionInvocationWrapper function)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.reactivestreams.Publisher<String>argument()RequestProcessor.FunctionWrapperargument(String argument)RequestProcessor.FunctionWrapperargument(org.reactivestreams.Publisher<String> argument)SimpleFunctionRegistry.FunctionInvocationWrapperfunction()Objecthandler()org.springframework.http.HttpHeadersheaders()RequestProcessor.FunctionWrapperheaders(org.springframework.http.HttpHeaders headers)org.springframework.util.MultiValueMap<String,String>params()RequestProcessor.FunctionWrapperparams(org.springframework.util.MultiValueMap<String,String> params)Supplier<?>supplier()Deprecated.
-
-
-
Constructor Detail
-
FunctionWrapper
public FunctionWrapper(SimpleFunctionRegistry.FunctionInvocationWrapper function)
-
-
Method Detail
-
handler
public Object handler()
-
function
public SimpleFunctionRegistry.FunctionInvocationWrapper function()
-
supplier
@Deprecated public Supplier<?> supplier()
Deprecated.
-
headers
public org.springframework.http.HttpHeaders headers()
-
headers
public RequestProcessor.FunctionWrapper headers(org.springframework.http.HttpHeaders headers)
-
params
public RequestProcessor.FunctionWrapper params(org.springframework.util.MultiValueMap<String,String> params)
-
argument
public RequestProcessor.FunctionWrapper argument(org.reactivestreams.Publisher<String> argument)
-
argument
public RequestProcessor.FunctionWrapper argument(String argument)
-
argument
public org.reactivestreams.Publisher<String> argument()
-
-