1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -153,7 +153,7 @@ public static <T extends ServerResponse> RouterFunction<T> nest(
153
153
* Resource resource = new ClassPathResource("static/index.html")
154
154
* RouterFunction<ServerResponse> resources = RouterFunctions.resource(path("/api/**").negate(), resource);
155
155
* </pre>
156
- * @param predicate predicate to match
156
+ * @param predicate the predicate to match
157
157
* @param resource the resources to serve
158
158
* @return a router function that routes to a resource
159
159
* @since 6.1.4
@@ -169,7 +169,7 @@ public static RouterFunction<ServerResponse> resource(RequestPredicate predicate
169
169
* Resource resource = new ClassPathResource("static/index.html")
170
170
* RouterFunction<ServerResponse> resources = RouterFunctions.resource(path("/api/**").negate(), resource);
171
171
* </pre>
172
- * @param predicate predicate to match
172
+ * @param predicate the predicate to match
173
173
* @param resource the resources to serve
174
174
* @param headersConsumer provides access to the HTTP headers for served resources
175
175
* @return a router function that routes to a resource
@@ -384,7 +384,7 @@ public interface Builder {
384
384
/**
385
385
* Adds a route to the given handler function that handles all HTTP {@code GET} requests
386
386
* that match the given predicate.
387
- * @param predicate predicate to match
387
+ * @param predicate the predicate to match
388
388
* @param handlerFunction the handler function to handle all {@code GET} requests that
389
389
* match {@code predicate}
390
390
* @return this builder
@@ -436,7 +436,7 @@ public interface Builder {
436
436
/**
437
437
* Adds a route to the given handler function that handles all HTTP {@code HEAD} requests
438
438
* that match the given predicate.
439
- * @param predicate predicate to match
439
+ * @param predicate the predicate to match
440
440
* @param handlerFunction the handler function to handle all {@code HEAD} requests that
441
441
* match {@code predicate}
442
442
* @return this builder
@@ -479,7 +479,7 @@ public interface Builder {
479
479
/**
480
480
* Adds a route to the given handler function that handles all HTTP {@code POST} requests
481
481
* that match the given predicate.
482
- * @param predicate predicate to match
482
+ * @param predicate the predicate to match
483
483
* @param handlerFunction the handler function to handle all {@code POST} requests that
484
484
* match {@code predicate}
485
485
* @return this builder
@@ -530,7 +530,7 @@ public interface Builder {
530
530
/**
531
531
* Adds a route to the given handler function that handles all HTTP {@code PUT} requests
532
532
* that match the given predicate.
533
- * @param predicate predicate to match
533
+ * @param predicate the predicate to match
534
534
* @param handlerFunction the handler function to handle all {@code PUT} requests that
535
535
* match {@code predicate}
536
536
* @return this builder
@@ -581,7 +581,7 @@ public interface Builder {
581
581
/**
582
582
* Adds a route to the given handler function that handles all HTTP {@code PATCH} requests
583
583
* that match the given predicate.
584
- * @param predicate predicate to match
584
+ * @param predicate the predicate to match
585
585
* @param handlerFunction the handler function to handle all {@code PATCH} requests that
586
586
* match {@code predicate}
587
587
* @return this builder
@@ -632,7 +632,7 @@ public interface Builder {
632
632
/**
633
633
* Adds a route to the given handler function that handles all HTTP {@code DELETE} requests
634
634
* that match the given predicate.
635
- * @param predicate predicate to match
635
+ * @param predicate the predicate to match
636
636
* @param handlerFunction the handler function to handle all {@code DELETE} requests that
637
637
* match {@code predicate}
638
638
* @return this builder
@@ -675,7 +675,7 @@ public interface Builder {
675
675
/**
676
676
* Adds a route to the given handler function that handles all HTTP {@code OPTIONS} requests
677
677
* that match the given predicate.
678
- * @param predicate predicate to match
678
+ * @param predicate the predicate to match
679
679
* @param handlerFunction the handler function to handle all {@code OPTIONS} requests that
680
680
* match {@code predicate}
681
681
* @return this builder
@@ -735,7 +735,7 @@ public interface Builder {
735
735
* Resource resource = new ClassPathResource("static/index.html")
736
736
* RouterFunction<ServerResponse> resources = RouterFunctions.resource(path("/api/**").negate(), resource);
737
737
* </pre>
738
- * @param predicate predicate to match
738
+ * @param predicate the predicate to match
739
739
* @param resource the resources to serve
740
740
* @return a router function that routes to a resource
741
741
* @since 6.1.4
@@ -749,7 +749,7 @@ public interface Builder {
749
749
* Resource resource = new ClassPathResource("static/index.html")
750
750
* RouterFunction<ServerResponse> resources = RouterFunctions.resource(path("/api/**").negate(), resource);
751
751
* </pre>
752
- * @param predicate predicate to match
752
+ * @param predicate the predicate to match
753
753
* @param resource the resources to serve
754
754
* @param headersConsumer provides access to the HTTP headers for served resources
755
755
* @return a router function that routes to a resource
0 commit comments