Sam Brannen
526fc391ee
Use Class#componentType() for consistency with arrayType()
...
Java 12 introduced java.lang.Class#componentType() as a shortcut for
getComponentType().
Since we started using arrayType() in fe5560400c , this commit switches
to componentType() for consistent API usage style.
3 years ago
Sam Brannen
169392e132
Polish StringHttpMessageConverterTests
3 years ago
Sam Brannen
c050642290
Polish contribution
...
See gh-30942
3 years ago
Patrick Strawderman
7636eecb48
Use readNBytes in StringHttpMessageConverter when contentLength is available
...
When the content length is known, use readNBytes on the InputStream in
StringHttpMessageConverter, which avoids some extra copying and allocations.
Closes gh-30942
3 years ago
Sébastien Deleuze
da7b68a643
Support Kotlin Serialization custom serializers
...
This commit updates WebMVC converters and WebFlux
encoders/decoders to support custom serializers
with Kotlin Serialization when specified via
a custom SerialFormat.
It also turns the serializers cache to a non-static
field in order to allow per converter/encoder/decoder
configuration.
Closes gh-30870
3 years ago
Juergen Hoeller
18966d048c
Consistent equals/hashCode style (and related polishing)
3 years ago
rstoyanchev
ad80b94e14
Allow BindParam on a field
...
See gh-30947
3 years ago
Sam Brannen
9ba5622efd
Update outdated Javadoc for PathPatternParser.defaultInstance
...
Spring Framework 6.0 changed the default value of
matchOptionalTrailingSeparator from true to false.
Closes gh-30976
3 years ago
Sam Brannen
3ff81a47c9
Polish PathPatternParser
3 years ago
Juergen Hoeller
08d89f7aac
Avoid Aalto XML parser override
3 years ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
3 years ago
Juergen Hoeller
ae279eaced
Polishing
3 years ago
Sam Brannen
148f5c459e
Update copyright headers
3 years ago
Sam Brannen
f00756bc7c
Update copyright headers
3 years ago
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
3 years ago
Sam Brannen
170d6bfdad
Clean up warnings in tests
3 years ago
Juergen Hoeller
bbde68c49e
Polishing
3 years ago
rstoyanchev
67e3d86bd8
Support declarativeBinding mode in DataBinder
...
Closes gh-30948
3 years ago
rstoyanchev
37eaded63d
Support BindParam annotation
...
Allows customizing the name of the request parameter to bind a
constructor parameter to.
Closes gh-30947
3 years ago
Juergen Hoeller
ccaccda6ca
Polishing
3 years ago
Juergen Hoeller
3c02ab83ed
Polishing
3 years ago
Arjen Poutsma
d65d285378
Cleanup after deprecation of OkHttp3ClientHttpRequestFactory
...
See gh-30919
3 years ago
Arjen Poutsma
efb6abc43f
Deprecate OkHttp3ClientHttpRequestFactory
...
Closes gh-30919
3 years ago
Juergen Hoeller
391d7f2c6a
Polishing
3 years ago
Juergen Hoeller
c64a322e19
Polishing
3 years ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
3 years ago
rstoyanchev
4becce1c2b
Consolidate default WebMvc executor log warnings
...
Closes gh-30902
3 years ago
Sam Brannen
a34f9fa66c
Update copyright headers
3 years ago
Sam Brannen
63fe45d92a
Update copyright headers
3 years ago
Sam Brannen
680769d770
Remove obsolete private constant
3 years ago
Sam Brannen
e6d360c1c6
Polishing
3 years ago
Juergen Hoeller
0d5a7db238
Remove unused import
...
See gh-30886
3 years ago
rstoyanchev
793581ebde
Add ForwardedHeaderUtils
...
Closes gh-30886
3 years ago
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.
3 years ago
Sam Brannen
68f2b0ca59
Rely on auto-boxing in tests
3 years ago
rstoyanchev
57ed5bf34b
Polishing contribution
...
Closes gh-30869
3 years ago
Olga MaciaszekSharma
8b77ed164d
Add RestClientAdapter
...
See gh-30869
3 years ago
Johnny Lim
8ecedb81b3
Add missing @Nullable annotations in ContentDisposition.Builder
...
Closes gh-30820
3 years ago
rstoyanchev
20afa3265a
Encapsulate full path initialization
3 years ago
rstoyanchev
a3e37597aa
Add ReactiveHttpRequestValues
...
Separate collection and handling of reactive request values into a
subclass of HttpRequestValues.
Closes gh-30117
3 years ago
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
3 years ago
Rossen Stoyanchev
22376c2efa
Polishing
...
See gh-30117
3 years ago
rstoyanchev
47667ab990
Collapse hierarchy under HttpServiceMethodTests
...
See gh-30117
3 years ago
Rossen Stoyanchev
068dc7db28
Remove use of TestHttpClientAdapter
...
Now that HttpClientAdapter is deprecated and replaced by HttpExchangeAdapter
and ReactorHttpExchangeAdapter, our tests should use the new contracts.
See gh-30117
3 years ago
rstoyanchev
3be4c0a893
Replace Void with void on exchange method
...
See gh-30117
3 years ago
Sébastien Deleuze
b3de1b8e95
Use consistently *KotlinTests naming for Kotlin tests
...
Closes gh-30837
3 years ago
Sam Brannen
75b540f25c
Update copyright headers
3 years ago
Sam Brannen
8bf79cc9c4
Polish contribution
...
Closes gh-30593
3 years ago
Heo YounHaeng
7ff80bc09d
Fix example in Javadoc for MultipartBodyBuilder
...
See gh-30593
3 years ago
Valery Yatsynovich
8d6b0eb191
Fix typo in UriUtils Javadoc
...
Closes gh-30598
3 years ago