public class RequestProcessor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RequestProcessor.FunctionWrapper |
| Constructor and Description |
|---|
RequestProcessor(JsonMapper mapper,
FunctionInspector inspector,
StringConverter converter) |
| 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<?>> |
stream(RequestProcessor.FunctionWrapper request) |
static RequestProcessor.FunctionWrapper |
wrapper(Function<org.reactivestreams.Publisher<?>,org.reactivestreams.Publisher<?>> function,
Consumer<org.reactivestreams.Publisher<?>> consumer,
Supplier<org.reactivestreams.Publisher<?>> supplier) |
public RequestProcessor(JsonMapper mapper, FunctionInspector inspector, StringConverter converter)
public static RequestProcessor.FunctionWrapper wrapper(Function<org.reactivestreams.Publisher<?>,org.reactivestreams.Publisher<?>> function, Consumer<org.reactivestreams.Publisher<?>> consumer, Supplier<org.reactivestreams.Publisher<?>> supplier)
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 request)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.