| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
HttpRequest.getMethod()
Return the HTTP method used to supply this value
|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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
|
<T extends Serializable,U> |
Flow.invokeFunction(String functionId,
HttpMethod method,
com.fnproject.fn.api.Headers headers,
U input,
Class<T> responseType)
Invoke a function by ID using input and output coercion and a specified method and headers
|
Copyright © 2021. All rights reserved.