Class HttpExecutor
java.lang.Object
io.serverlessworkflow.impl.executors.http.HttpExecutor
- All Implemented Interfaces:
io.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.CallHTTP>
public class HttpExecutor
extends Object
implements io.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.CallHTTP>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompletableFuture<io.serverlessworkflow.impl.WorkflowModel>apply(io.serverlessworkflow.impl.WorkflowContext workflow, io.serverlessworkflow.impl.TaskContext taskContext, io.serverlessworkflow.impl.WorkflowModel input) builder(io.serverlessworkflow.impl.WorkflowDefinition definition) voidinit(io.serverlessworkflow.api.types.CallHTTP task, io.serverlessworkflow.impl.WorkflowDefinition definition)
-
Constructor Details
-
HttpExecutor
public HttpExecutor()
-
-
Method Details
-
builder
public static HttpExecutor.HttpExecutorBuilder builder(io.serverlessworkflow.impl.WorkflowDefinition definition) -
init
public void init(io.serverlessworkflow.api.types.CallHTTP task, io.serverlessworkflow.impl.WorkflowDefinition definition) - Specified by:
initin interfaceio.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.CallHTTP>
-
apply
public CompletableFuture<io.serverlessworkflow.impl.WorkflowModel> apply(io.serverlessworkflow.impl.WorkflowContext workflow, io.serverlessworkflow.impl.TaskContext taskContext, io.serverlessworkflow.impl.WorkflowModel input) - Specified by:
applyin interfaceio.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.CallHTTP>
-
accept
- Specified by:
acceptin interfaceio.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.CallHTTP>
-