Fixes code example lambda.
Fixes gh-2485
This commit is contained in:
@@ -1138,7 +1138,7 @@ public RouteLocator routes(RouteLocatorBuilder builder) {
|
||||
.route("rewrite_request_obj", r -> r.host("*.rewriterequestobj.org")
|
||||
.filters(f -> f.prefixPath("/httpbin")
|
||||
.modifyRequestBody(String.class, Hello.class, MediaType.APPLICATION_JSON_VALUE,
|
||||
(exchange, s) -> return Mono.just(new Hello(s.toUpperCase())))).uri(uri))
|
||||
(exchange, s) -> Mono.just(new Hello(s.toUpperCase())))).uri(uri))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user