Sync docs from master to gh-pages
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-comment">// grab configuration from Config object</span>
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-keyword">return</span> (exchange, chain) -> {
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-keyword">return</span> chain.filter(exchange).then(Mono.fromRunnable(() -> {
|
||||
ServerHttpReponse response = exchange.getResponse();
|
||||
ServerHttpResponse response = exchange.getResponse();
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-comment">//Manipulate the response in some way</span>
|
||||
}));
|
||||
};
|
||||
|
||||
@@ -440,7 +440,7 @@ or check if an exchange has already been routed.</p><div class="itemizedlist"><u
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-comment">// grab configuration from Config object</span>
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-keyword">return</span> (exchange, chain) -> {
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-keyword">return</span> chain.filter(exchange).then(Mono.fromRunnable(() -> {
|
||||
ServerHttpReponse response = exchange.getResponse();
|
||||
ServerHttpResponse response = exchange.getResponse();
|
||||
<span xmlns:d="http://docbook.org/ns/docbook" class="hl-comment">//Manipulate the response in some way</span>
|
||||
}));
|
||||
};
|
||||
|
||||
@@ -1052,7 +1052,7 @@ public RouteLocator customRouteLocator(RouteLocatorBuilder builder, ThrottleGate
|
||||
// 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