@@ -155,6 +155,7 @@ public static <T extends ServerResponse> RouterFunction<T> nest(
155
155
* @param pattern the pattern to match
156
156
* @param location the location directory relative to which resources should be resolved
157
157
* @return a router function that routes to resources
158
+ * @see org.springframework.web.util.pattern.PathPattern
158
159
* @see #resourceLookupFunction(String, Resource)
159
160
*/
160
161
public static RouterFunction <ServerResponse > resources (String pattern , Resource location ) {
@@ -173,6 +174,7 @@ public static RouterFunction<ServerResponse> resources(String pattern, Resource
173
174
* @param headersConsumer provides access to the HTTP headers for served resources
174
175
* @return a router function that routes to resources
175
176
* @since 6.1
177
+ * @see org.springframework.web.util.pattern.PathPattern
176
178
* @see #resourceLookupFunction(String, Resource)
177
179
*/
178
180
public static RouterFunction <ServerResponse > resources (String pattern , Resource location ,
@@ -194,6 +196,7 @@ public static RouterFunction<ServerResponse> resources(String pattern, Resource
194
196
* @param pattern the pattern to match
195
197
* @param location the location directory relative to which resources should be resolved
196
198
* @return the default resource lookup function for the given parameters.
199
+ * @see org.springframework.web.util.pattern.PathPattern
197
200
*/
198
201
public static Function <ServerRequest , Mono <Resource >> resourceLookupFunction (String pattern , Resource location ) {
199
202
return new PathResourceLookupFunction (pattern , location );
@@ -338,6 +341,7 @@ public interface Builder {
338
341
* @param handlerFunction the handler function to handle all {@code GET} requests that
339
342
* match {@code pattern}
340
343
* @return this builder
344
+ * @see org.springframework.web.util.pattern.PathPattern
341
345
*/
342
346
Builder GET (String pattern , HandlerFunction <ServerResponse > handlerFunction );
343
347
@@ -369,6 +373,7 @@ public interface Builder {
369
373
* @param handlerFunction the handler function to handle all {@code GET} requests that
370
374
* match {@code pattern} and the predicate
371
375
* @return this builder
376
+ * @see org.springframework.web.util.pattern.PathPattern
372
377
* @see RequestPredicates
373
378
*/
374
379
Builder GET (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
@@ -388,6 +393,7 @@ public interface Builder {
388
393
* @param handlerFunction the handler function to handle all {@code HEAD} requests that
389
394
* match {@code pattern}
390
395
* @return this builder
396
+ * @see org.springframework.web.util.pattern.PathPattern
391
397
*/
392
398
Builder HEAD (String pattern , HandlerFunction <ServerResponse > handlerFunction );
393
399
@@ -411,6 +417,7 @@ public interface Builder {
411
417
* @param handlerFunction the handler function to handle all {@code HEAD} requests that
412
418
* match {@code pattern}
413
419
* @return this builder
420
+ * @see org.springframework.web.util.pattern.PathPattern
414
421
*/
415
422
Builder HEAD (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
416
423
@@ -429,6 +436,7 @@ public interface Builder {
429
436
* @param handlerFunction the handler function to handle all {@code POST} requests that
430
437
* match {@code pattern}
431
438
* @return this builder
439
+ * @see org.springframework.web.util.pattern.PathPattern
432
440
*/
433
441
Builder POST (String pattern , HandlerFunction <ServerResponse > handlerFunction );
434
442
@@ -460,6 +468,7 @@ public interface Builder {
460
468
* @param handlerFunction the handler function to handle all {@code POST} requests that
461
469
* match {@code pattern}
462
470
* @return this builder
471
+ * @see org.springframework.web.util.pattern.PathPattern
463
472
*/
464
473
Builder POST (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
465
474
@@ -478,6 +487,7 @@ public interface Builder {
478
487
* @param handlerFunction the handler function to handle all {@code PUT} requests that
479
488
* match {@code pattern}
480
489
* @return this builder
490
+ * @see org.springframework.web.util.pattern.PathPattern
481
491
*/
482
492
Builder PUT (String pattern , HandlerFunction <ServerResponse > handlerFunction );
483
493
@@ -509,6 +519,7 @@ public interface Builder {
509
519
* @param handlerFunction the handler function to handle all {@code PUT} requests that
510
520
* match {@code pattern}
511
521
* @return this builder
522
+ * @see org.springframework.web.util.pattern.PathPattern
512
523
*/
513
524
Builder PUT (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
514
525
@@ -527,6 +538,7 @@ public interface Builder {
527
538
* @param handlerFunction the handler function to handle all {@code PATCH} requests that
528
539
* match {@code pattern}
529
540
* @return this builder
541
+ * @see org.springframework.web.util.pattern.PathPattern
530
542
*/
531
543
Builder PATCH (String pattern , HandlerFunction <ServerResponse > handlerFunction );
532
544
@@ -558,6 +570,7 @@ public interface Builder {
558
570
* @param handlerFunction the handler function to handle all {@code PATCH} requests that
559
571
* match {@code pattern}
560
572
* @return this builder
573
+ * @see org.springframework.web.util.pattern.PathPattern
561
574
*/
562
575
Builder PATCH (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
563
576
@@ -576,6 +589,7 @@ public interface Builder {
576
589
* @param handlerFunction the handler function to handle all {@code DELETE} requests that
577
590
* match {@code pattern}
578
591
* @return this builder
592
+ * @see org.springframework.web.util.pattern.PathPattern
579
593
*/
580
594
Builder DELETE (String pattern , HandlerFunction <ServerResponse > handlerFunction );
581
595
@@ -599,6 +613,7 @@ public interface Builder {
599
613
* @param handlerFunction the handler function to handle all {@code DELETE} requests that
600
614
* match {@code pattern}
601
615
* @return this builder
616
+ * @see org.springframework.web.util.pattern.PathPattern
602
617
*/
603
618
Builder DELETE (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
604
619
@@ -617,6 +632,7 @@ public interface Builder {
617
632
* @param handlerFunction the handler function to handle all {@code OPTIONS} requests that
618
633
* match {@code pattern}
619
634
* @return this builder
635
+ * @see org.springframework.web.util.pattern.PathPattern
620
636
*/
621
637
Builder OPTIONS (String pattern , HandlerFunction <ServerResponse > handlerFunction );
622
638
@@ -640,6 +656,7 @@ public interface Builder {
640
656
* @param handlerFunction the handler function to handle all {@code OPTIONS} requests that
641
657
* match {@code pattern}
642
658
* @return this builder
659
+ * @see org.springframework.web.util.pattern.PathPattern
643
660
*/
644
661
Builder OPTIONS (String pattern , RequestPredicate predicate , HandlerFunction <ServerResponse > handlerFunction );
645
662
@@ -685,6 +702,7 @@ public interface Builder {
685
702
* @param pattern the pattern to match
686
703
* @param location the location directory relative to which resources should be resolved
687
704
* @return this builder
705
+ * @see org.springframework.web.util.pattern.PathPattern
688
706
*/
689
707
Builder resources (String pattern , Resource location );
690
708
@@ -700,6 +718,7 @@ public interface Builder {
700
718
* @param headersConsumer provides access to the HTTP headers for served resources
701
719
* @return this builder
702
720
* @since 6.1
721
+ * @see org.springframework.web.util.pattern.PathPattern
703
722
*/
704
723
Builder resources (String pattern , Resource location , BiConsumer <Resource , HttpHeaders > headersConsumer );
705
724
@@ -790,6 +809,7 @@ public interface Builder {
790
809
* @param routerFunctionSupplier supplier for the nested router function to delegate to if
791
810
* the pattern matches
792
811
* @return this builder
812
+ * @see org.springframework.web.util.pattern.PathPattern
793
813
*/
794
814
Builder path (String pattern , Supplier <RouterFunction <ServerResponse >> routerFunctionSupplier );
795
815
@@ -812,6 +832,7 @@ public interface Builder {
812
832
* @param builderConsumer consumer for a {@code Builder} that provides the nested router
813
833
* function
814
834
* @return this builder
835
+ * @see org.springframework.web.util.pattern.PathPattern
815
836
*/
816
837
Builder path (String pattern , Consumer <Builder > builderConsumer );
817
838
0 commit comments