| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
FunctionInvocationException.getFunctionResponse()
The HTTP details returned from the function invocation
|
| Modifier and Type | Method and Description |
|---|---|
default FlowFuture<HttpResponse> |
Flow.invokeFunction(String functionId,
HttpMethod method)
Invoke a function by ID with no headers
|
default FlowFuture<HttpResponse> |
Flow.invokeFunction(String functionId,
HttpMethod method,
com.fnproject.fn.api.Headers headers)
Invoke a function by ID with headers and an empty body
|
FlowFuture<HttpResponse> |
Flow.invokeFunction(String functionId,
HttpMethod method,
com.fnproject.fn.api.Headers headers,
byte[] data)
Invoke a fn function and yield the result
|
<U> FlowFuture<HttpResponse> |
Flow.invokeFunction(String functionId,
HttpMethod method,
com.fnproject.fn.api.Headers headers,
U input)
Invoke a function by ID using input and output coercion and a specified method and headers
|
default <U> FlowFuture<HttpResponse> |
Flow.invokeFunction(String functionId,
U input)
Invoke a function by ID using input and output coercion, default method (POST) and no response type
|
| Constructor and Description |
|---|
FunctionInvocationException(HttpResponse functionResponse) |
Copyright © 2021. All rights reserved.