@Component public class FunctionController extends Object
Constructor and Description |
---|
FunctionController(RequestProcessor processor) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
form(org.springframework.web.server.ServerWebExchange request) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
get(org.springframework.web.server.ServerWebExchange request) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
getStream(org.springframework.web.server.ServerWebExchange request) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
multipart(org.springframework.web.server.ServerWebExchange request) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
post(org.springframework.web.server.ServerWebExchange request,
String body) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
postStream(org.springframework.web.server.ServerWebExchange request,
reactor.core.publisher.Flux<String> body) |
public FunctionController(RequestProcessor processor)
@PostMapping(path="/**", consumes="application/x-www-form-urlencoded") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> form(org.springframework.web.server.ServerWebExchange request)
@PostMapping(path="/**", consumes="multipart/form-data") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> multipart(org.springframework.web.server.ServerWebExchange request)
@PostMapping(path="/**") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> post(org.springframework.web.server.ServerWebExchange request, @RequestBody(required=false) String body)
@PostMapping(path="/**", produces="text/event-stream") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> postStream(org.springframework.web.server.ServerWebExchange request, @RequestBody(required=false) reactor.core.publisher.Flux<String> body)
@GetMapping(path="/**") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> get(org.springframework.web.server.ServerWebExchange request)
@GetMapping(path="/**", produces="text/event-stream") @ResponseBody public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> getStream(org.springframework.web.server.ServerWebExchange request)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.