File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
spring-web/src/main/java/org/springframework/web/filter/reactive Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 2020import java .util .Collections ;
2121import java .util .Locale ;
2222import java .util .Set ;
23- import javax .servlet .http .HttpServletRequest ;
2423
2524import reactor .core .publisher .Mono ;
2625
3433import org .springframework .web .util .UriComponentsBuilder ;
3534
3635/**
37- * Extract values from "Forwarded" and "X-Forwarded-*" headers in order to wrap
38- * and override the following from the request and response:
39- * {@link HttpServletRequest#getServerName() getServerName()},
40- * {@link HttpServletRequest#getServerPort() getServerPort()},
41- * {@link HttpServletRequest#getScheme() getScheme()},
42- * {@link HttpServletRequest#isSecure() isSecure()}, and
43- * {@link HttpServletResponse#sendRedirect(String) sendRedirect(String)}.
44- * In effect the wrapped request and response reflect the client-originated
36+ * Extract values from "Forwarded" and "X-Forwarded-*" headers in order to change
37+ * and override {@link ServerHttpRequest#getURI()}.
38+ * In effect the request URI will reflect the client-originated
4539 * protocol and address.
4640 *
4741 * <p><strong>Note:</strong> This filter can also be used in a
You can’t perform that action at this time.
0 commit comments