Browse Source

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

PostGatewayFilterFactory example wasn't compiling.
pull/399/head
Tillmann Heigel 6 years ago committed by GitHub
parent
commit
1e76e71225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/src/main/asciidoc/spring-cloud-gateway.adoc

2
docs/src/main/asciidoc/spring-cloud-gateway.adoc

@ -990,7 +990,7 @@ public class PostGatewayFilterFactory extends AbstractGatewayFilterFactory<PostG @@ -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
}));
};

Loading…
Cancel
Save