public class RequestProcessor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RequestProcessor.FunctionWrapper
Wrapper for functions.
|
Constructor and Description |
---|
RequestProcessor(JsonMapper mapper,
org.springframework.beans.factory.ObjectProvider<org.springframework.http.codec.ServerCodecConfigurer> codecs) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
get(RequestProcessor.FunctionWrapper wrapper) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
post(RequestProcessor.FunctionWrapper wrapper,
String body,
boolean stream) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
response(RequestProcessor.FunctionWrapper wrapper,
Object body,
boolean stream) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> |
stream(RequestProcessor.FunctionWrapper functionWrapper) |
static RequestProcessor.FunctionWrapper |
wrapper(SimpleFunctionRegistry.FunctionInvocationWrapper function) |
public RequestProcessor(JsonMapper mapper, org.springframework.beans.factory.ObjectProvider<org.springframework.http.codec.ServerCodecConfigurer> codecs)
public static RequestProcessor.FunctionWrapper wrapper(SimpleFunctionRegistry.FunctionInvocationWrapper function)
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> get(RequestProcessor.FunctionWrapper wrapper)
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> post(RequestProcessor.FunctionWrapper wrapper, String body, boolean stream)
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> stream(RequestProcessor.FunctionWrapper functionWrapper)
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<?>> response(RequestProcessor.FunctionWrapper wrapper, Object body, boolean stream)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.