Fix a small typo in spring-cloud-gateway.adoc (#399)
PostGatewayFilterFactory example wasn't compiling.
This commit is contained in:
committed by
Spencer Gibb
parent
26876561bf
commit
281a6cbb1e
@@ -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
|
||||
}));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user