Sam Brannen
de441b4751
Remove TODOs in WebFlux ref docs
2022-11-19 14:38:01 +01:00
Sam Brannen
9c3efdec32
Fix broken link to Web MVC Testing section
2022-11-19 14:37:29 +01:00
Brian Clozel
af40a124bb
Disable checkstyle for reference docs code snippets
2022-11-18 18:24:43 +01:00
Brian Clozel
44c583392e
Document RuntimeHints testing strategies
...
Closes gh-29523
2022-11-18 18:11:35 +01:00
Sam Brannen
9249dc3d37
Reorganize and modularize the Testing chapter in the reference manual
...
Closes gh-29522
2022-11-18 17:33:40 +01:00
Sam Brannen
3458f293d4
Polish asciidoc attributes
2022-11-18 15:42:27 +01:00
Sam Brannen
796b8c1278
Polishing
2022-11-18 15:14:14 +01:00
Sam Brannen
cefd74555a
Polish contribution
2022-11-18 15:07:08 +01:00
wizard
e9555d4825
Polish AbstractAutowireCapableBeanFactory and use instanceof pattern matching
...
Closes gh-29499
2022-11-18 15:00:05 +01:00
Brian Clozel
1960666765
Set error status in Observation Servlet filter
...
Prior to this commit, the Observation Servlet filter would record
unhandled exceptions on the observation context but would leave the
default HTTP response status as is.
Servlet containers do set the response status in that case to 500 by
default. Not doing that at the Servlet filter level results in invalid
observations, stating that the HTTP response status is 200 (because the
error status hasn't been set yet by the container) and as a result, the
outcome is SUCCESS.
This commit ensures that the error status is set in those cases,
aligning the behavior with Servlet containers.
Fixes gh-29512
2022-11-18 14:15:49 +01:00
Stephane Nicoll
45dc1d2602
Fix link to WebFlux section
...
Closes gh-29513
2022-11-18 10:47:27 +01:00
Sébastien Deleuze
ef5796c3a9
Update documentation to mention Java 17+ baseline
...
Closes gh-29514
2022-11-18 09:43:41 +01:00
Sébastien Deleuze
b52300eab8
Document GraalVM substitutions upcoming removal
2022-11-17 18:01:02 +01:00
Sam Brannen
031adfb8ec
Use lambda expression for Callable example in ref docs
2022-11-17 17:13:50 +01:00
Arjen Poutsma
792371ac1f
Generalize Jackson version numbers
...
This commit removes specific version info from Jackson codecs and
converters, in favor of generic info or removing the version information
all together.
See gh-29508
2022-11-17 16:56:38 +01:00
Brian Clozel
62bbebd4f4
Polishing
2022-11-17 16:55:53 +01:00
Sam Brannen
ac7d428a62
Work around code example callout bug
...
This commit adds callouts to two sets of Java/Kotlin code examples in
the @ModelAttribute section for Web MVC in order to work around the
"Code example has callout from a different code example" bug.
This also aligns the Web MVC examples with the WebFlux examples.
As a side note, the bug can also be seen in the WebFlux documentation
if the callouts are removed from the first Java/Kotlin examples in the
@ModelAttribute section for WebFlux. Thus it appears to be a general
issue related to examples within a given section of the documentation
when some examples have callouts and others do not, likely due to a bug
in the Javascript that provides this feature.
See gh-29505
2022-11-17 16:37:08 +01:00
Sam Brannen
f6eaa8e63c
Add missing callouts
2022-11-17 16:36:40 +01:00
Sam Brannen
cd27fbe550
Add callouts to Kotlin examples for parity
2022-11-17 16:36:40 +01:00
Sam Brannen
bbfc39efc9
Polishing
2022-11-17 16:36:40 +01:00
Brian Clozel
1a8a69d289
Refactor Asciidoctor attributes in reference docs
...
This commit reorganizes the asciidoctor attributes for the reference
documentation. Instead of being contributed partially by the build and
individual documents, attributes are now shared in common files that are
included in top sections.
2022-11-17 15:35:28 +01:00
Stephane Nicoll
e16cdfede0
Merge pull request #29508 from wilkinsona
...
* pr/29508:
Update Jackson-based decoders to reflect 2.14 baseline
Closes gh-29508
2022-11-17 11:34:19 +01:00
Andy Wilkinson
26df6fbada
Update Jackson-based decoders to reflect 2.14 baseline
...
See gh-29508
2022-11-17 11:22:15 +01:00
Sam Brannen
508d2c7a77
Fix Javadoc formatting issues for headings
...
Headings in method-level Javadoc must be h4 or higher in recent versions
of Java.
2022-11-16 14:09:42 +01:00
Sam Brannen
428539f30d
Polishing
2022-11-16 13:52:10 +01:00
Sam Brannen
d0d5730f7f
Suppress "removal" warnings in CronSequenceGeneratorTests
2022-11-16 12:30:10 +01:00
Spring Builds
befa4b14cd
Next development version (v6.0.1-SNAPSHOT)
2022-11-16 10:26:53 +00:00
Stephane Nicoll
42856bab16
Add milestone repo for optional Netty 5 support
...
Closes gh-29498
2022-11-16 11:03:14 +01:00
Arjen Poutsma
9be6cea012
Polishing deprecated methods
...
Added since and forRemoval to Deprecated methods.
2022-11-16 09:58:04 +01:00
Andy Wilkinson
37b439182e
Align javadoc of DefaultParameterNameDiscoverer with its behavior
2022-11-16 08:16:57 +01:00
Stephane Nicoll
09a58a55bf
Polish
2022-11-15 20:10:03 +01:00
Andriy
10f4ad1a44
Assert fixed in DefaultErrorResponseBuilder
...
Fixed assert on wrong constructor fields
2022-11-15 19:55:18 +02:00
Sam Brannen
9457ed342d
Document AOT support in the TestContext framework
...
Closes gh-29482
2022-11-15 17:29:16 +01:00
Sam Brannen
074ec97655
Fix section formatting in the testing chapter
2022-11-15 17:25:27 +01:00
Sam Brannen
9ede4afc34
Revert "Ignore HttpComponents Javadoc"
...
This reverts commit f50b472ceb
.
HttpComponents Javadoc is available again.
See gh-29479
See https://issues.apache.org/jira/browse/HTTPCLIENT-2227
2022-11-15 15:06:55 +01:00
Sam Brannen
bfc125105f
Merge branch '5.3.x'
2022-11-15 14:47:21 +01:00
Sam Brannen
8e64701cb7
Fix Javadoc formatting issue in TestSocketUtils
2022-11-15 14:47:00 +01:00
Sam Brannen
ae9a9e3c06
Document TestSocketUtils in the testing chapter
2022-11-15 14:43:56 +01:00
Sam Brannen
fe03654e83
Update testing chapter regarding Servlet 6.0 baseline for mocks
2022-11-15 14:31:43 +01:00
Sam Brannen
da920bc488
Polish AOT ref docs
2022-11-15 14:25:13 +01:00
Juergen Hoeller
8937015993
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2022-11-15 13:13:29 +01:00
Juergen Hoeller
c94025699f
Upgrade to Reactor 2020.0.25
...
See gh-29464
2022-11-15 13:11:32 +01:00
Juergen Hoeller
f8b4be3b82
Straight filename extraction for URI path (decoded and standard separators)
...
See gh-29486
2022-11-15 12:50:15 +01:00
Sam Brannen
abf3400c07
Use Assert.state() where appropriate
2022-11-15 12:31:10 +01:00
Sam Brannen
2aa78889d2
Use consistent wording in precondition error messages
2022-11-15 12:31:01 +01:00
Stephane Nicoll
711a63adca
Polish
...
See gh-29391
2022-11-15 11:53:01 +01:00
Juergen Hoeller
9235e3996f
Equivalent code without java.net.URL constructor in comment blocks
...
See gh-29486
See gh-29481
2022-11-15 00:33:48 +01:00
Juergen Hoeller
7d2543ed82
Extract filename from cleaned path (for consistent separator handling)
...
See gh-29486
2022-11-14 23:53:39 +01:00
Juergen Hoeller
588a70218a
Merge branch '5.3.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java
2022-11-14 23:38:10 +01:00
Juergen Hoeller
ec3f59e6fe
Allow AutoCloseable dereferences on original AutoCloseable beans
...
Closes gh-29480
2022-11-14 23:37:05 +01:00