Default port for http{s} routes if not set.

fixes gh-198
This commit is contained in:
Spencer Gibb
2018-02-20 11:29:17 -05:00
parent d0296709c9
commit 008e4e0b40
5 changed files with 84 additions and 9 deletions

View File

@@ -34,6 +34,8 @@ image::{imagesurl}/spring_cloud_gateway_diagram.png[Spring Cloud Gateway Diagram
Clients make requests to Spring Cloud Gateway. If the Gateway Handler Mapping determines that a request matches a Route, it is sent to the Gateway Web Handler. This handler runs sends the request through a filter chain that is specific to the request. The reason the filters are divided by the dotted line, is that filters may execute logic before the proxy request is sent or after. All "pre" filter logic is executed, then the proxy request is made. After the proxy request is made, the "post" filter logic is executed.
NOTE: URIs defined in routes without a port will get a default port set to 80 and 443 for HTTP and HTTPS URIs respectively.
[[gateway-request-predicates-factories]]
== Route Predicate Factories