Sam Brannen
f00756bc7c
Update copyright headers
2023-08-01 14:55:04 +03:00
Patrick Strawderman
01e90bbd0e
Use Long.parseLong(CharSequence,...) to avoid intermediate String creation
...
Where possible, switch to the Long.parseLong variant that accepts a
start and end index for the supplied CharSequence, thus avoiding making
unnecessary copies of the String input.
Closes gh-30710
2023-08-01 10:53:30 +03:00
rstoyanchev
67e3d86bd8
Support declarativeBinding mode in DataBinder
...
Closes gh-30948
2023-07-25 18:04:21 +03:00
rstoyanchev
37eaded63d
Support BindParam annotation
...
Allows customizing the name of the request parameter to bind a
constructor parameter to.
Closes gh-30947
2023-07-25 16:15:55 +03:00
Juergen Hoeller
ccaccda6ca
Polishing
2023-07-25 19:22:02 +02:00
Juergen Hoeller
5ebbb3ff3e
Merge branch '6.0.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcOperations.java
# spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java
# spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java
2023-07-25 19:13:33 +02:00
Juergen Hoeller
bbde68c49e
Polishing
2023-07-25 19:12:07 +02:00
Juergen Hoeller
3c02ab83ed
Polishing
2023-07-25 18:11:00 +02:00
Arjen Poutsma
d65d285378
Cleanup after deprecation of OkHttp3ClientHttpRequestFactory
...
See gh-30919
2023-07-21 10:07:05 +02:00
Arjen Poutsma
efb6abc43f
Deprecate OkHttp3ClientHttpRequestFactory
...
Closes gh-30919
2023-07-20 13:48:52 +02:00
Juergen Hoeller
d4caaebab0
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/validation/Errors.java
# spring-context/src/test/java/org/springframework/validation/DataBinderTests.java
2023-07-19 23:01:02 +02:00
Juergen Hoeller
391d7f2c6a
Polishing
2023-07-19 22:47:20 +02:00
Juergen Hoeller
2ac55659c8
Merge branch '6.0.x'
2023-07-19 01:26:05 +02:00
Juergen Hoeller
c64a322e19
Polishing
2023-07-19 01:25:20 +02:00
Juergen Hoeller
25ea1f4c0f
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java
2023-07-19 00:37:06 +02:00
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
2023-07-19 00:35:19 +02:00
rstoyanchev
4becce1c2b
Consolidate default WebMvc executor log warnings
...
Closes gh-30902
2023-07-18 10:22:45 +01:00
Sam Brannen
63fe45d92a
Update copyright headers
2023-07-15 13:11:29 +02:00
Sam Brannen
680769d770
Remove obsolete private constant
2023-07-15 13:04:50 +02:00
Sam Brannen
e6d360c1c6
Polishing
2023-07-15 12:58:18 +02:00
Juergen Hoeller
0d5a7db238
Remove unused import
...
See gh-30886
2023-07-14 12:24:55 +02:00
rstoyanchev
793581ebde
Add ForwardedHeaderUtils
...
Closes gh-30886
2023-07-13 18:12:30 +01:00
Arjen Poutsma
49c463b1d2
Polish RestClient request factories
...
This commit changes the default request factory from the
SimpleClientHttpRequestFactory to the JdkClientHttpRequestFactory if
available. It also adds detection logic for OkHttp and Jetty.
2023-07-13 09:24:21 +02:00
rstoyanchev
57ed5bf34b
Polishing contribution
...
Closes gh-30869
2023-07-11 19:13:22 +01:00
Olga MaciaszekSharma
8b77ed164d
Add RestClientAdapter
...
See gh-30869
2023-07-11 19:13:22 +01:00
Sébastien Deleuze
3a8c40fd2f
Merge branch '6.0.x'
2023-07-11 19:58:44 +02:00
Johnny Lim
8ecedb81b3
Add missing @Nullable annotations in ContentDisposition.Builder
...
Closes gh-30820
2023-07-11 19:58:29 +02:00
rstoyanchev
39e74d89e1
Merge branch '6.0.x'
2023-07-11 11:17:41 +01:00
rstoyanchev
20afa3265a
Encapsulate full path initialization
2023-07-11 11:10:20 +01:00
rstoyanchev
a3e37597aa
Add ReactiveHttpRequestValues
...
Separate collection and handling of reactive request values into a
subclass of HttpRequestValues.
Closes gh-30117
2023-07-11 07:42:04 +01:00
rstoyanchev
3209cf5c7a
Add Reactor classpath checks in argument resolvers
...
HTTP interface client argument resolvers for RequestBody and
RequestPart now handle reactive input conditionally.
See gh-30117
2023-07-10 16:03:11 +01:00
Rossen Stoyanchev
22376c2efa
Polishing
...
See gh-30117
2023-07-10 11:24:30 +01:00
rstoyanchev
3be4c0a893
Replace Void with void on exchange method
...
See gh-30117
2023-07-10 09:10:14 +01:00
Sam Brannen
75b540f25c
Update copyright headers
2023-07-07 15:03:09 +02:00
Sam Brannen
8bf79cc9c4
Polish contribution
...
Closes gh-30593
2023-07-07 15:02:38 +02:00
Heo YounHaeng
7ff80bc09d
Fix example in Javadoc for MultipartBodyBuilder
...
See gh-30593
2023-07-07 15:00:47 +02:00
Valery Yatsynovich
8d6b0eb191
Fix typo in UriUtils Javadoc
...
Closes gh-30598
2023-07-07 14:50:46 +02:00
Olga MaciaszekSharma
268f3c853e
Add RestTemplate support for HTTP interface client
...
See gh-30117
2023-07-06 19:07:40 +02:00
Brian Clozel
430a24e6bc
Further document ShallowEtagHeaderFilter limitations
...
This commit improves the documentation for the
`ShallowEtagHeaderFilter`, stating that it is only meant to support a
subset of conditional HTTP requests: GET requests with "If-None-Match"
headers. Other headers and state changing HTTP methods are not supported
here, as the filter only operates on the content of the response and has
no knowledge of the resource being served.
Closes gh-30517
2023-07-06 09:39:57 +02:00
Juergen Hoeller
c1a8b9a14d
Polishing
2023-07-04 21:24:35 +02:00
Juergen Hoeller
0c39fff831
Polishing
2023-06-29 18:04:08 +02:00
Juergen Hoeller
062d701ae1
Consistently use mutable ArrayList for modulesToInstall vs modules
...
Closes gh-30751
2023-06-26 12:34:54 +02:00
Sam Brannen
f86a69ebfb
Update copyright headers and polish
2023-06-24 14:14:02 +02:00
Sébastien Deleuze
81f1edbaf2
Change InvocableHandlerMethod#invokeSuspendingFunction return type
...
This commits changes the return type from Publisher<?> to
Object in order to avoid potential compatibility issues when
the Reactive Streams dependency is not in the classpath.
Closes gh-30716
2023-06-23 14:17:56 +02:00
Sam Brannen
3d33d2baa9
Polish contribution
2023-06-23 13:35:16 +02:00
Xiu Hong Kooi
3745224646
Remove redundant assertion in ReactorServerHttpResponse constructor
...
See gh-30686
Closes gh-30696
2023-06-23 13:34:31 +02:00
Rossen Stoyanchev
bf82ed7186
Add HttpExchangeAdapter
...
See gh-30117
2023-06-23 11:49:29 +01:00
Arjen Poutsma
20dd66cd5a
Introduce ReactorNettyClientRequestFactory
...
This commit introduces an implementation of ClientHttpRequestFactory
based on Reactor Netty's HttpClient.
Closes gh-30835
2023-07-07 15:30:53 +02:00
Sam Brannen
d720d6be6b
Merge branch '6.0.x'
2023-07-07 15:05:01 +02:00
Arjen Poutsma
cb0c5f5a7b
Allow RestClient::exchange to keep connection open
...
This commit introduces an overloaded version of RestClient::exchange,
adding a boolean parameter that indicates whether the connection is
closed after the exchange function is executed.
See gh-29552
2023-07-07 14:24:44 +02:00