diff --git a/spring-cloud-gateway.html b/spring-cloud-gateway.html index 98c4d8ff..d9034890 100644 --- a/spring-cloud-gateway.html +++ b/spring-cloud-gateway.html @@ -393,7 +393,7 @@ URIs defined in routes without a port will get a default port set to 80 and 443
This route matches if the request has a header named X-Request-Id whos value matches the \d+ regular expression (has a value of one or more digits).
This route matches if the request has a header named X-Request-Id whose value matches the \d+ regular expression (has a value of one or more digits).
The Path Route Predicate Factory takes two parameter: a list of Spring PathMatcher patterns and an optional flag to matchOptionalTrailingSeparator.
The Path Route Predicate Factory takes two parameters: a list of Spring PathMatcher patterns and an optional flag to matchOptionalTrailingSeparator.
fallbackUri in an external application, like in the following sce
In this example, after an execution exception occurs while running the HystrixCommand, the request will be forwarde to
+
In this example, after an execution exception occurs while running the HystrixCommand, the request will be forwarded to
the fallback endpoint or handler in an app running on localhost:9994. The headers with the exception type, message
and -if available- root cause exception type and message will be added to that request by the FallbackHeaders filter.
The PreserveHostHeader GatewayFilter Factory has not parameters. This filter, sets a request attribute that the routing filter will inspect to determine if the original host header should be sent, rather than the host header determined by the http client.
+The PreserveHostHeader GatewayFilter Factory has no parameters. This filter sets a request attribute that the routing filter will inspect to determine if the original host header should be sent, rather than the host header determined by the http client.
The default implementation of KeyResolver is the PrincipalNameKeyResolver which retrieves the Principal from the ServerWebExchange and calls Principal.getName().
By default, if the KeyResolver does not find a key, requests will be denied. This behavior can be adjust with the spring.cloud.gateway.filter.request-rate-limiter.deny-empty-key (true or false) and spring.cloud.gateway.filter.request-rate-limiter.empty-key-status-code properties.
By default, if the KeyResolver does not find a key, requests will be denied. This behavior can be adjusted with the spring.cloud.gateway.filter.request-rate-limiter.deny-empty-key (true or false) and spring.cloud.gateway.filter.request-rate-limiter.empty-key-status-code properties.