code refactoring

This commit is contained in:
young891221
2019-01-17 13:56:37 +09:00
parent ad1dc247dc
commit eba10481b5

View File

@@ -62,6 +62,7 @@ public class ModifyRequestBodyGatewayFilterFactory
return (exchange, chain) -> {
Class inClass = config.getInClass();
ServerRequest serverRequest = new DefaultServerRequest(exchange, this.messageReaders);
//TODO: flux or mono
Mono<?> modifiedBody = serverRequest.bodyToMono(inClass)
// .log("modify_request_mono", Level.INFO)