Class FunctionController

java.lang.Object
org.springframework.cloud.function.web.mvc.FunctionController

@Component @EnableConfigurationProperties(FunctionHttpProperties.class) public class FunctionController extends Object
Author:
Dave Syer, Mark Fisher, Oleg Zhurakousky
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(org.springframework.web.context.request.WebRequest request, String body)
     
    form(org.springframework.web.context.request.WebRequest request)
     
    get(org.springframework.web.context.request.WebRequest request)
     
    org.reactivestreams.Publisher<?>
    getStream(org.springframework.web.context.request.WebRequest request)
     
    post(org.springframework.web.context.request.WebRequest request, String body)
     
    reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<org.reactivestreams.Publisher<?>>>
    postStream(org.springframework.web.context.request.WebRequest request, String body)
     
    put(org.springframework.web.context.request.WebRequest request, String body)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • form

      @PostMapping(path="/**", consumes={"application/x-www-form-urlencoded","multipart/form-data"}) @ResponseBody public Object form(org.springframework.web.context.request.WebRequest request)
    • postStream

      @PostMapping(path="/**", produces="text/event-stream") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<org.reactivestreams.Publisher<?>>> postStream(org.springframework.web.context.request.WebRequest request, @RequestBody(required=false) String body)
    • getStream

      @GetMapping(path="/**", produces="text/event-stream") @ResponseBody public org.reactivestreams.Publisher<?> getStream(org.springframework.web.context.request.WebRequest request)
    • post

      @PostMapping(path="/**") @ResponseBody public Object post(org.springframework.web.context.request.WebRequest request, @RequestBody(required=false) String body)
    • put

      @PutMapping(path="/**") @ResponseBody public Object put(org.springframework.web.context.request.WebRequest request, @RequestBody(required=false) String body)
    • delete

      @DeleteMapping(path="/**") @ResponseStatus(NO_CONTENT) public void delete(org.springframework.web.context.request.WebRequest request, @RequestBody(required=false) String body)
    • get

      @GetMapping(path="/**") @ResponseBody public Object get(org.springframework.web.context.request.WebRequest request)