Sébastien Deleuze
8f94c4e933
Remove WebClientIntegrationTests#exchangeWithRelativeUrl outdated test
...
This test can fail when a web server runs on port 80 and
is not relevant anymore due to the removal of related feature
via 6e936a4081 .
Closes gh-28902
2023-01-20 13:59:39 +01:00
Sébastien Deleuze
fb0aa5abb3
Fix WebClientIntegrationTests flaky Jetty tests
...
Ensure the port used by the client in malformedResponseChunksOnBodilessEntity
and malformedResponseChunksOnEntityWithBody has correctly been set.
Closes gh-29862
2023-01-20 11:38:22 +01:00
Sam Brannen
1ace42f245
Enable JRubyScriptTemplateTests
2023-01-19 16:20:03 +01:00
Sam Brannen
0502d18e3d
Update copyright headers
2023-01-19 16:20:03 +01:00
Sam Brannen
c4c786596f
Migrate to Mockito.mock(T...) where feasible
2023-01-19 16:20:02 +01:00
Arjen Poutsma
9ebd1e8d64
Fix IllegalStateException in empty ProducesRequestCondition
...
When comparing empty ProducesRequestCondition, compareTo would throw an
IllegalStateException if the Accept header was invalid. This commit
fixes that behavior.
Closes gh-29794
2023-01-18 10:38:09 +01:00
Sam Brannen
64de6de725
Update copyright headers
2023-01-17 15:49:26 +01:00
Sam Brannen
c3e8ff9ce7
Do not use Mockito to mock ReactiveAdapterRegistry
2023-01-17 15:44:57 +01:00
Sam Brannen
ad5c636aff
Upgrade to Mockito 5.0
2023-01-17 14:31:11 +01:00
rstoyanchev
312db36849
Combined, empty RequestMapping matches both "" and "/"
...
Closes gh-29625
2023-01-13 14:58:11 +00:00
Sam Brannen
a4956dfe26
Update copyright headers
2023-01-11 13:52:20 +01:00
Sam Brannen
0415975dd1
Polish contribution and related code
2023-01-11 13:52:20 +01:00
Krzysztof Krason
afb8a0d1b1
Use new Java features (switch expressions, text blocks, new JDK methods)
...
Closes gh-29747
2023-01-11 13:51:28 +01:00
Sam Brannen
c7bdfbea4f
Add missing Javadoc
...
See gh-29574
2022-12-13 13:46:31 +01:00
Sam Brannen
7fe78b745f
Polish Javadoc
2022-12-13 13:44:03 +01:00
Arjen Poutsma
c79ae0c842
Align multipart codecs on client and server
...
This commit ensures that the same multipart codecs are registered on
both client and server. Previously, only the client enabled only sending
multipart, and the server only receiving.
Closes gh-29630
2022-12-13 10:13:46 +01:00
Sam Brannen
46fc28fd1a
Clean up Javadoc and source code regarding " ." typos
2022-12-12 16:31:14 +01:00
Johnny Lim
f8a1dac593
Use consistent visibility for ResponseEntityExceptionHandler.getMessageSource()
...
See gh-29574
Closes gh-29676
2022-12-12 16:15:52 +01:00
Sam Brannen
67644a28b6
Use URI#create instead of URI constructor where feasible in spring-webflux
2022-12-09 13:26:30 -05:00
rstoyanchev
39d4d2041a
Polishing contribution
...
Closes gh-29634
2022-12-09 10:24:42 +00:00
koo.taejin
5ac97b16a8
Optimize object creation PartialMatchHelper
...
See gh-29634
2022-12-09 10:19:54 +00:00
Sam Brannen
69f47e7700
Polishing
...
- primarily automated "clean up" using Eclipse IDE
2022-12-09 00:56:00 -05:00
Sam Brannen
348cc01284
Rename MultipartWebClientIntegrationTests classes to avoid duplicate names
2022-12-06 12:50:36 -05:00
Sam Brannen
9f7a510f90
Polishing
2022-12-06 12:29:03 -05:00
divcon
f64397d822
Apply "instanceof pattern matching" in spring-webflux
...
Closes gh-29635
2022-12-06 10:03:26 -05:00
Sam Brannen
de07ad47f1
Polishing, suppression of deprecation warnings, copyright headers, etc.
2022-12-05 14:16:22 -05:00
rstoyanchev
db53b618c1
Simplify form data handling in HttpRequestValues
...
Closes gh-29615
2022-12-05 15:37:48 +00:00
rstoyanchev
913163884a
Improve invalid Content-Type handling in WebFlux
...
Closes gh-29565
2022-12-05 15:37:48 +00:00
rstoyanchev
a09f93768a
Fix URI override for HttpExchange
...
Closes gh-29624
2022-12-02 17:02:05 +00:00
Sam Brannen
ad60164911
Update copyright headers for source code changed since August 2022
...
The changes in this commit were performed using the newly introduced
update_copyright_headers.sh script.
2022-11-29 19:38:42 +01:00
Sam Brannen
1bb723b9e0
Rename to AbstractReactiveWebSocketIntegrationTests to avoid duplicate class names
2022-11-28 17:43:39 +01:00
Sam Brannen
db02c96c55
Avoid deprecation warnings in tests
2022-11-28 17:40:46 +01:00
rstoyanchev
6c8fb6c204
Add MessageSource getters
...
See gh-29574
2022-11-28 10:59:57 +00:00
Juergen Hoeller
21d3a7529c
Consistent documentation references to Jakarta WebSocket (2.1)
...
Closes gh-29581
2022-11-25 17:07:30 +01:00
Juergen Hoeller
9c7b471634
Deprecate JettyWebSocketClient in favor of StandardWebSocketClient
...
JettyWebSocketClient only supported on Jetty 11, to be phased out.
Closes gh-29576
2022-11-25 17:06:15 +01:00
Juergen Hoeller
459e8a1ea5
Deprecate LocalVariableTableParameterNameDiscoverer completely
...
LocalVariableTableParameterNameDiscoverer is not registered by default anymore now.
Java sources should be compiled with `-parameters` instead (available since Java 8).
Also retaining standard Java parameter names for all of Spring's Kotlin sources now.
Closes gh-29531
2022-11-22 19:26:15 +01:00
Sam Brannen
7fcd1de8e3
Use AssertJ's isEmpty() instead of hasSize(0)
...
Achieved via global search-and-replace.
2022-11-22 17:11:50 +01:00
Sam Brannen
d5b0b2b1a1
User AssertJ's hasSize() for arrays
...
Achieved via global search-and-replace.
2022-11-22 17:03:45 +01:00
Sam Brannen
36f7597f25
Use AssertJ's hasSize() for collections and maps
...
Achieved via a global search-and-replace.
2022-11-22 16:50:10 +01:00
Stephane Nicoll
09a58a55bf
Polish
2022-11-15 20:10:03 +01:00
Sam Brannen
2aa78889d2
Use consistent wording in precondition error messages
2022-11-15 12:31:01 +01:00
Sam Brannen
07ba13c9ca
Remove superfluous method override
2022-11-14 17:11:58 +01:00
Brian Clozel
1ad7cc3702
Reorganize server observability packages
...
Prior to this commit, the server observability support would create a
cycle in Java packages.
This commit refactors the current arrangement to solve this by:
* "flattening" the reactive HTTP instrumentation; this removes the
dependency to the `ServerWebExchange` and `PathPattern` types
* moving the `observation` package under
`org.springframework.http.server` and
`org.springframework.http.server.reactive`
See gh-29477
2022-11-14 12:59:45 +01:00
Sébastien Deleuze
7a9bd3fed9
Merge branch '5.3.x'
2022-11-13 19:08:28 +01:00
Sébastien Deleuze
b766a49a4d
Support suspending functions returning Unit in WebFlux
...
Closes gh-27629
2022-11-13 19:05:29 +01:00
rstoyanchev
e0b405869f
Merge branch '5.3.x'
2022-11-11 15:16:26 +00:00
rstoyanchev
0348a7bf2e
Improve API for RFC 7807 in functional endpoints
...
Closes gh-29462
2022-11-11 13:34:35 +00:00
rstoyanchev
f9d8367379
Exclude URL query from checkpoint in DefaultWebClient
...
Closes gh-29148
2022-11-11 13:29:36 +00:00
rstoyanchev
8ade083a05
Filter out null WebSocketSession attributes
...
Closes gh-29315
2022-11-11 11:20:18 +00:00
rstoyanchev
fb22044c10
Polishing
...
See gh-22991
2022-11-09 11:34:32 +00:00