@Component public class FunctionController extends Object
Constructor and Description |
---|
FunctionController(FunctionInspector inspector,
StringConverter converter) |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<?> |
get(org.springframework.web.context.request.WebRequest request) |
org.springframework.http.ResponseEntity<org.reactivestreams.Publisher<?>> |
post(org.springframework.web.context.request.WebRequest request,
FluxRequest<?> body) |
void |
setDebug(boolean debug) |
public FunctionController(FunctionInspector inspector, StringConverter converter)
public void setDebug(boolean debug)
@PostMapping(path="/**") @ResponseBody public org.springframework.http.ResponseEntity<org.reactivestreams.Publisher<?>> post(org.springframework.web.context.request.WebRequest request, @RequestBody FluxRequest<?> body)
@GetMapping(path="/**") @ResponseBody public org.reactivestreams.Publisher<?> get(org.springframework.web.context.request.WebRequest request)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.