@RestController public class CompilerController extends Object
| Constructor and Description |
|---|
CompilerController() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerConsumer(String name,
String lambda,
String type) |
void |
registerFunction(String name,
String lambda,
String inputType,
String outputType) |
void |
registerSupplier(String name,
String lambda,
String type) |
@PostMapping(path="/supplier/{name}")
public void registerSupplier(@PathVariable
String name,
@RequestBody
String lambda,
@RequestParam(defaultValue="Flux<String>")
String type)
@PostMapping(path="/function/{name}")
public void registerFunction(@PathVariable
String name,
@RequestBody
String lambda,
@RequestParam(defaultValue="Flux<String>")
String inputType,
@RequestParam(defaultValue="Flux<String>")
String outputType)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.