Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
poutsma committed Sep 14, 2017
1 parent e70210a commit 2510db0
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.util.Collections;
import java.util.Locale;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;

import reactor.core.publisher.Mono;

Expand All @@ -34,14 +33,9 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* Extract values from "Forwarded" and "X-Forwarded-*" headers in order to wrap
* and override the following from the request and response:
* {@link HttpServletRequest#getServerName() getServerName()},
* {@link HttpServletRequest#getServerPort() getServerPort()},
* {@link HttpServletRequest#getScheme() getScheme()},
* {@link HttpServletRequest#isSecure() isSecure()}, and
* {@link HttpServletResponse#sendRedirect(String) sendRedirect(String)}.
* In effect the wrapped request and response reflect the client-originated
* Extract values from "Forwarded" and "X-Forwarded-*" headers in order to change
* and override {@link ServerHttpRequest#getURI()}.
* In effect the request URI will reflect the client-originated
* protocol and address.
*
* <p><strong>Note:</strong> This filter can also be used in a
Expand Down

0 comments on commit 2510db0

Please sign in to comment.