Fix a small typo in spring-cloud-gateway.adoc

PostGatewayFilterFactory example wasn't compiling.
This commit is contained in:
Tillmann Heigel
2018-06-28 10:08:32 +02:00
committed by GitHub
parent 28166054c4
commit 1e76e71225

View File

@@ -990,7 +990,7 @@ public class PostGatewayFilterFactory extends AbstractGatewayFilterFactory<PostG
// grab configuration from Config object
return (exchange, chain) -> {
return chain.filter(exchange).then(Mono.fromRunnable(() -> {
ServerHttpReponse response = exchange.getResponse();
ServerHttpResponse response = exchange.getResponse();
//Manipulate the response in some way
}));
};