From 42803030463cb45819848904ddb5d29495e55350 Mon Sep 17 00:00:00 2001
From: Joakim Erdfelt
Headers can also be defined so that forwarded SSL Session IDs and Cipher * suites may be customised
+ *+ * The Authority (host and port) is updated on the {@link Request} object based + * on the host / port information in the following search order. + *
+ *# | + *Value Origin | + *Host | + *Port | + *Notes | + *
1 | + *Forwarded Header |
+ * Required | + *Authoritative | + *From left-most host=[value] parameter (see rfc7239) |
+ *
2 | + *X-Forwarded-Host Header |
+ * Required | + *Optional | + *left-most value | + *
3 | + *X-Forwarded-Port Header |
+ * n/a | + *Required | + *left-most value (only if {@link #getForwardedPortAsAuthority()} is true) | + *
4 | + *X-Forwarded-Server Header |
+ * Required | + *Optional | + *left-most value | + *
5 | + *Request Metadata | + *Optional | + *Optional | + *found in Request Line absolute path and/or Host client request header value as value host:port or host |
+ *
6 | + *X-Forwarded-Proto Header |
+ * n/a | + *standard | + *left-most value as http (implied port 80) or https (implied port 443) |
+ *
7 | + *X-Proxied-Https Header |
+ * n/a | + *boolean | + *left-most value as on (implied port 443) or off (implied port 80) |
+ *