Fix a small typo in spring-cloud-gateway.adoc (#399)

PostGatewayFilterFactory example wasn't compiling.
This commit is contained in:
Tillmann Heigel
2018-07-05 19:48:06 +02:00
committed by Spencer Gibb
parent 26876561bf
commit 281a6cbb1e

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
}));
};