Sam Brannen
e598df8c60
Fix common typos and grammatical mistakes
...
Closes gh-36471
(cherry picked from commit 5eb0e99d58 )
2026-03-15 17:19:28 +01:00
Sam Brannen
d4f4c69318
Document @Fallback alongside Primary in the reference docs and @Bean Javadoc
...
Closes gh-36439
(cherry picked from commit 27686dc2e2 )
2026-03-10 17:28:49 +01:00
Sam Brannen
2d10d513e1
Consistently refer to URLs and URIs in documentation
...
(cherry picked from commit 04186fdf0e )
2026-03-01 13:06:56 +01:00
Sam Brannen
91ff706e8c
Fix formatting and spelling
...
(cherry picked from commit 4dacc64a30 )
2026-01-28 14:31:44 +01:00
rstoyanchev
b6d1e88563
Fix unfinished edit from previous commit
...
See gh-36198
2026-01-28 12:27:30 +00:00
rstoyanchev
af1e9da3d7
Update docs on trailing slash handling
...
Closes gh-36198
2026-01-28 12:23:47 +00:00
rstoyanchev
bc5e395a42
Update docs content types for ProblemDetail
...
Closes gh-36192
2026-01-28 12:21:56 +00:00
Tran Ngoc Nhan
b39055f293
Fix broken Javadoc links to methods
...
Closes gh-35904
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-11-26 17:12:18 +01:00
rstoyanchev
f9b4fba97a
Add required type to TypeMismatchException message args
...
Closes gh-35837
2025-11-26 12:50:26 +00:00
rstoyanchev
e735c2d9c5
Improve Filter overview in reference docs
...
Closes gh-30454
2025-11-10 14:43:34 +00:00
Chandra Bhan Singh
ddb45a9302
Correct documentation formatting for Mono type
...
Closes gh-35786
Signed-off-by: Chandra Bhan Singh <cbhansingh1@gmail.com >
2025-11-10 12:03:37 +01:00
Brian Clozel
8bb63081a8
Document PathPattern matching for single/multiple segments
...
This commit improves the reference document to better reflect the
different between `*` or `{name}` on one side, and `**` or `{*path}` on
the other.
The former patterns only consider a single path segment and its content,
while the latter variants consider zero or more path segments. This
explains why `/test/{*path}` can match `/test`.
Closes gh-35727
2025-11-05 14:58:58 +01:00
rstoyanchev
a698b1bc0d
Refine validation section for controllers
...
Closes gh-35759
2025-11-05 12:23:43 +00:00
rstoyanchev
715bc68c16
Rename methods in FragmentsRendering
...
Previous commit 81ea35c726 in main for 7.0
should have been applied in 6.2.x first for 6.2.1.
This commit applies the changes in 6.2.x as intended,
effective as of 6.2.13.
Closes gh-33974
2025-10-30 12:17:51 +00:00
Brian Clozel
d3c1e678c2
Support wildcard path elements at the start of path patterns
...
Prior to this commit, the `PathPattern` and `PathPatternParser` would
allow multiple-segments matching and capturing with the following:
* "/files/**" (matching 0-N segments until the end)
* "/files/{*path}" (matching 0-N segments until the end and capturing
the value as the "path" variable)
This would be only allowed as the last path element in the pattern and
the parser would reject other combinations.
This commit expands the support and allows multiple segments matching at
the beginning of the path:
* "/**/index.html" (matching 0-N segments from the start)
* "/{*path}/index.html" (matching 0-N segments until the end and capturing
the value as the "path" variable)
This does come with additional restrictions:
1. "/files/**/file.txt" and "/files/{*path}/file.txt" are invalid,
as multiple segment matching is not allowed in the middle of the
pattern.
2. "/{*path}/files/**" is not allowed, as a single "{*path}" or "/**"
element is allowed in a pattern
3. "/{*path}/{folder}/file.txt" "/**/{folder:[a-z]+}/file.txt" are
invalid because only a literal pattern is allowed right after
multiple segments path elements.
Closes gh-35679
2025-10-22 12:21:57 +02:00
rstoyanchev
c165dd5e0e
Update Javadoc of reactive WebSocketHandler
...
Replace suggestion to use zip with and operator.
Closes gh-35572
2025-10-10 17:23:03 +01:00
Maziyar Bahramian
e1c008f5a3
Fix URI Patterns docs for WebMVC and WebFlux
...
Closes gh-35551
Signed-off-by: Maziyar Bahramian <maziyar.bahramian@gmail.com >
2025-10-01 19:39:57 +02:00
rstoyanchev
977582fced
Document data binding for functional endpoints
...
Closes gh-35367
2025-09-08 10:12:20 +01:00
Sam Brannen
b741632e99
Polish wording in web sections
2025-08-29 17:25:15 +02:00
Tran Ngoc Nhan
cd208797e2
Fix links to Reactive Libraries and RestTemplate
...
Closes gh-35392
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-08-29 17:23:13 +02:00
rstoyanchev
6e2fbfe108
Polishing contribution
...
Closes gh-35232
2025-08-08 11:50:07 +01:00
秦利斌
968e037503
Add documentation of RequestMapping about SpEL
...
Signed-off-by: 秦利斌 <68638598+Allan-QLB@users.noreply.github.com >
2025-08-08 11:37:25 +01:00
Juergen Hoeller
a0c083619f
Consistent line breaks in reference documentation
2025-07-10 19:33:34 +02:00
rstoyanchev
c769f43b3e
Update docs on testing client code
...
Closes gh-34892
2025-06-06 15:28:28 +01:00
rstoyanchev
4782c697b8
Improve RestControllerAdvice documentation
...
Closes gh-34866
2025-06-06 15:28:28 +01:00
rstoyanchev
de52090959
Polishing contribution
...
Closes gh-34554
2025-06-06 15:28:28 +01:00
rstoyanchev
be17315f63
Add mention of CompletionStage in "Async Requests"
...
Closes gh-34991
2025-06-03 19:10:03 +01:00
rstoyanchev
06f69915cb
Polishing contribution
...
Closes gh-34885
2025-06-03 19:04:17 +01:00
addoDev
d9459bdc74
Improve mvc-ann-async.adoc
...
Added section for WebAsyncTask return type along with java and
kotlin example code
See gh-34885
Signed-off-by: addoDev <adityaraochokkadi@gmail.com >
2025-06-03 18:57:40 +01:00
Johannes Jank
5b9cb8291e
Fix exception name in ModelAttribute docs
...
Closes gh-34980
Signed-off-by: Johannes Jank <johannes.wengert@googlemail.com >
2025-06-02 16:30:16 +02:00
rstoyanchev
dc52042b85
Polishing contribution
...
Closes gh-34939
2025-05-28 11:05:00 +01:00
dujiabao
cff6e02162
Correct sample in multipart-forms.adoc
...
See gh-34939
Signed-off-by: dujiabao <42103826+WayneDu98@users.noreply.github.com >
2025-05-28 11:05:00 +01:00
Sam Brannen
457e876303
Polish reference manual regarding placeholders
2025-05-10 15:10:29 +02:00
Sam Brannen
f27382cfb6
Consistently indent code with tabs in reference manual
2025-04-14 11:22:08 +02:00
Taeik Lim
a946fe2bf8
Fix broken link for Server-Sent Events
...
Signed-off-by: Taeik Lim <sibera21@gmail.com >
Closes gh-34705
2025-04-02 17:43:42 +02:00
Tran Ngoc Nhan
7c3913050a
Fix formatting and update links to scripting libraries and HDIV
...
Closes gh-34603
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com >
(cherry picked from commit 666e2df0f3 )
2025-03-15 13:51:28 +01:00
Vedran Pavic
94d29bac9f
Fix typo in Spring MVC error responses documentation
...
Closes gh-34552
Signed-off-by: Vedran Pavic <vedran@vedranpavic.com >
2025-03-07 13:37:57 +01:00
Tran Ngoc Nhan
34315fc20f
Fix web and webflux reference links
...
Closes gh-34517
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-02-28 12:06:11 +01:00
Pierre Rossato
a9ecf90524
Minor update in WebSocket STOMP documentation
...
Closes gh-34353
Signed-off-by: Pierre Rossato <pierre.rossato@gmail.com >
2025-02-03 15:10:32 +00:00
rstoyanchev
384d2749c6
Polishing in HttpServiceMethod
2025-01-15 19:03:00 +00:00
Tran Ngoc Nhan
ebae02a92b
Fix broken links in the web reference documentation
...
Closes gh-34115
2024-12-23 11:14:40 +01:00
Tran Ngoc Nhan
8c0ac8e062
Fix a typo in the filters documentation
...
Closes gh-33959
2024-11-26 16:09:45 +01:00
Sam Brannen
7f9901d35d
Merge branch '6.1.x'
2024-11-13 16:46:11 +01:00
Sam Brannen
bfde33a514
Document options for Date/Time parsing & formatting issues with JDK 20+
...
This commit updates Javadoc and the reference guide to document options
for handling date/time parsing and formatting issues on JDK 20 and higher.
A new "Date and Time Formatting with JDK 20 and higher" page has also been
introduced in the wiki.
https://github.com/spring-projects/spring-framework/wiki/Date-and-Time-Formatting-with-JDK-20-and-higher
Closes gh-33151
2024-11-13 16:39:40 +01:00
Sam Brannen
d92c57f7a5
Merge branch '6.1.x'
2024-11-13 14:23:52 +01:00
Sam Brannen
4d792d0e45
Remove mentions of Joda-Time support
...
Since Joda-Time support was removed in Spring Framework 6.0, this commit
removes obsolete mentions of Joda-Time in the reference guide and Javadoc.
See gh-27426
Closes gh-33881
2024-11-13 14:16:14 +01:00
Brian Clozel
acccbbec3f
Document UrlHandler Servlet and reactive filters
...
Closes gh-33784
2024-10-24 16:14:18 +02:00
Brian Clozel
20d21a8251
Rework links to Spring Boot in reference docs
...
Closes gh-33776
2024-10-23 16:10:37 +02:00
Brian Clozel
d8c153a9d1
Remove support for Resin Servlet container
...
This commit removes all references to the Resin Servlet container, as it
is not supported as of Spring Framework 6.0 because we require a
JakartaEE baseline.
Closes gh-33772
2024-10-23 10:10:29 +02:00
Brian Clozel
ec895534c5
Merge branch '6.1.x'
2024-10-21 18:34:49 +02:00