57
57
58
58
/**
59
59
* Factory for {@link LinkBuilderSupport} instances based on the request mapping annotated on the given controller.
60
- *
60
+ *
61
61
* @author Ricardo Gladwell
62
62
* @author Oliver Gierke
63
63
* @author Dietrich Schulten
@@ -81,7 +81,7 @@ public class ControllerLinkBuilderFactory implements MethodLinkBuilderFactory<Co
81
81
/**
82
82
* Configures the {@link UriComponentsContributor} to be used when building {@link Link} instances from method
83
83
* invocations.
84
- *
84
+ *
85
85
* @see #linkTo(Object)
86
86
* @param uriComponentsContributors the uriComponentsContributors to set
87
87
*/
@@ -107,7 +107,7 @@ public ControllerLinkBuilder linkTo(Class<?> controller, Object... parameters) {
107
107
return ControllerLinkBuilder .linkTo (controller , parameters );
108
108
}
109
109
110
- /*
110
+ /*
111
111
* (non-Javadoc)
112
112
* @see org.springframework.hateoas.LinkBuilderFactory#linkTo(java.lang.Class, java.util.Map)
113
113
*/
@@ -116,7 +116,7 @@ public ControllerLinkBuilder linkTo(Class<?> controller, Map<String, ?> paramete
116
116
return ControllerLinkBuilder .linkTo (controller , parameters );
117
117
}
118
118
119
- /*
119
+ /*
120
120
* (non-Javadoc)
121
121
* @see org.springframework.hateoas.MethodLinkBuilderFactory#linkTo(java.lang.Class, java.lang.reflect.Method, java.lang.Object[])
122
122
*/
@@ -125,7 +125,7 @@ public ControllerLinkBuilder linkTo(Class<?> controller, Method method, Object..
125
125
return ControllerLinkBuilder .linkTo (controller , method , parameters );
126
126
}
127
127
128
- /*
128
+ /*
129
129
* (non-Javadoc)
130
130
* @see org.springframework.hateoas.MethodLinkBuilderFactory#linkTo(java.lang.Object)
131
131
*/
@@ -200,11 +200,9 @@ public ControllerLinkBuilder linkTo(Method method, Object... parameters) {
200
200
return ControllerLinkBuilder .linkTo (method , parameters );
201
201
}
202
202
203
-
204
-
205
203
/**
206
204
* Applies the configured {@link UriComponentsContributor}s to the given {@link UriComponentsBuilder}.
207
- *
205
+ *
208
206
* @param builder will never be {@literal null}.
209
207
* @param invocation will never be {@literal null}.
210
208
* @return
@@ -230,7 +228,7 @@ protected UriComponentsBuilder applyUriComponentsContributer(UriComponentsBuilde
230
228
/**
231
229
* Populates the given {@link UriComponentsBuilder} with request parameters found in the given
232
230
* {@link BoundMethodParameter}.
233
- *
231
+ *
234
232
* @param builder must not be {@literal null}.
235
233
* @param parameter must not be {@literal null}.
236
234
*/
@@ -278,7 +276,7 @@ private static void bindRequestParameters(UriComponentsBuilder builder, BoundMet
278
276
/**
279
277
* Custom extension of {@link AnnotatedParametersParameterAccessor} for {@link RequestParam} to allow {@literal null}
280
278
* values handed in for optional request parameters.
281
- *
279
+ *
282
280
* @author Oliver Gierke
283
281
*/
284
282
private static class RequestParamParameterAccessor extends AnnotatedParametersParameterAccessor {
@@ -287,7 +285,7 @@ public RequestParamParameterAccessor() {
287
285
super (new AnnotationAttribute (RequestParam .class ));
288
286
}
289
287
290
- /*
288
+ /*
291
289
* (non-Javadoc)
292
290
* @see org.springframework.hateoas.mvc.AnnotatedParametersParameterAccessor#createParameter(org.springframework.core.MethodParameter, java.lang.Object, org.springframework.hateoas.core.AnnotationAttribute)
293
291
*/
@@ -297,7 +295,7 @@ protected BoundMethodParameter createParameter(final MethodParameter parameter,
297
295
298
296
return new BoundMethodParameter (parameter , value , attribute ) {
299
297
300
- /*
298
+ /*
301
299
* (non-Javadoc)
302
300
* @see org.springframework.hateoas.mvc.AnnotatedParametersParameterAccessor.BoundMethodParameter#isRequired()
303
301
*/
@@ -316,7 +314,7 @@ public boolean isRequired() {
316
314
};
317
315
}
318
316
319
- /*
317
+ /*
320
318
* (non-Javadoc)
321
319
* @see org.springframework.hateoas.mvc.AnnotatedParametersParameterAccessor#verifyParameterValue(org.springframework.core.MethodParameter, java.lang.Object)
322
320
*/
0 commit comments