You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
-35
Original file line number
Diff line number
Diff line change
@@ -151,8 +151,6 @@ public static MvcUriComponentsBuilder relativeTo(UriComponentsBuilder baseUrl) {
151
151
* Create a {@link UriComponentsBuilder} from the mapping of a controller class
152
152
* and current request information including Servlet mapping. If the controller
153
153
* contains multiple mappings, only the first one is used.
154
-
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
155
-
* and "X-Forwarded-*" headers if found. See class-level docs.
156
154
* @param controllerType the controller to build a URI for
157
155
* @return a UriComponentsBuilder instance (never {@code null})
158
156
*/
@@ -165,8 +163,6 @@ public static UriComponentsBuilder fromController(Class<?> controllerType) {
165
163
* {@code UriComponentsBuilder} representing the base URL. This is useful
166
164
* when using MvcUriComponentsBuilder outside the context of processing a
167
165
* request or to apply a custom baseUrl not matching the current request.
168
-
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
169
-
* and "X-Forwarded-*" headers if found. See class-level docs.
170
166
* @param builder the builder for the base URL; the builder will be cloned
171
167
* and therefore not modified and may be re-used for further calls.
172
168
* @param controllerType the controller to build a URI for
@@ -192,8 +188,6 @@ public static UriComponentsBuilder fromController(@Nullable UriComponentsBuilder
192
188
* Create a {@link UriComponentsBuilder} from the mapping of a controller
193
189
* method and an array of method argument values. This method delegates
194
190
* to {@link #fromMethod(Class, Method, Object...)}.
195
-
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
196
-
* and "X-Forwarded-*" headers if found. See class-level docs.
197
191
* @param controllerType the controller
198
192
* @param methodName the method name
199
193
* @param args the argument values
@@ -213,8 +207,6 @@ public static UriComponentsBuilder fromMethodName(Class<?> controllerType,
213
207
* accepts a {@code UriComponentsBuilder} representing the base URL. This is
214
208
* useful when using MvcUriComponentsBuilder outside the context of processing
215
209
* a request or to apply a custom baseUrl not matching the current request.
216
-
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
217
-
* and "X-Forwarded-*" headers if found. See class-level docs.
218
210
* @param builder the builder for the base URL; the builder will be cloned
219
211
* and therefore not modified and may be re-used for further calls.
220
212
* @param controllerType the controller
@@ -239,8 +231,6 @@ public static UriComponentsBuilder fromMethodName(UriComponentsBuilder builder,
0 commit comments