Juergen Hoeller
6825287360
Polishing
5 years ago
izeye
0c347769a2
Fix wrong reference in UrlPathHelper.removeSemicolonContentInternal()
...
This commit also changes to short-circuit when `slashIndex` is -1.
5 years ago
Rossen Stoyanchev
6e51370490
AbstractJackson2Encoder support for MappingJacksonValue
...
Closes gh-26035
5 years ago
Juergen Hoeller
19911af30a
Polishing
5 years ago
Juergen Hoeller
f2f84bfa7a
Polishing
5 years ago
Juergen Hoeller
990a9c74b9
Restore removal of trailing semicolon content
...
See gh-26012
5 years ago
Сергей Цыпанов
0015fd6734
Improve URI/query strings sanitization
5 years ago
Rossen Stoyanchev
0f6038af70
Log can[Se]Deserialize error in Jackson codecs
...
Closes gh-25892
5 years ago
Rossen Stoyanchev
7be7e5beb4
Ensure response not closed by MappingJackson2HttpMessageConverter
...
Closes gh-25987
5 years ago
Nick Hitchan
6e936a4081
Remove absolute URI check from ReactorClientHttpConnector
...
This allows maknig use of the Unix Domain Socket support in Reactor 1.0.
Closes gh-25929
5 years ago
Sébastien Deleuze
5b910a87c3
Polishing
5 years ago
Sam Brannen
449377908f
Fix JUnit 4 to AssertJ migration bugs
...
The migration from JUnit 4 assertions to AssertJ assertions resulted in
several unnecessary casts from int to long that actually cause
assertions to pass when they should otherwise fail.
This commit fixes all such bugs for the pattern `.isNotEqualTo((long)`.
5 years ago
Rossen Stoyanchev
a40cc8bbe0
Polishing contribution
...
Closes gh-25647
5 years ago
Riley Park
6e640c806f
Improve support for Content-Disposition types
...
See gh-25647
5 years ago
Rossen Stoyanchev
e66e34766e
Support Optional in UriComponentsBuilder#queryParam
...
Closes gh-25951
5 years ago
Rossen Stoyanchev
5644a7aebb
Polishing contribution
...
Closes gh-25951
5 years ago
Robin Roos
7af726480f
Add queryParamIfPresent to UriComponentsBuilder
...
See gh-25951
5 years ago
Juergen Hoeller
621295dbd8
Deprecate StringUtils.isEmpty(Object) and replace remaining usage
...
Closes gh-25945
5 years ago
Brian Clozel
7bee3d1574
Optimize Jackson resource management in codecs
...
Prior to this commit, references to `JsonGenerator` and
`ByteArrayBuilder` were not closed/released within codecs calls.
This prevents Jackson from reusing more efficiently shared memory
resources.
This commit properly closes/releases Jackson resources in Spring MVC,
Spring WebFlux and Spring Messaging codecs.
A benchmark on WebFlux codecs (in both single value/streaming mode)
shows significant throughput and allocation improvements for small
payloads.
Closes gh-25910
5 years ago
Juergen Hoeller
23211c784e
Upgrade to Netty 4.1.53 and Tomcat 9.0.39
...
Correct version declaration for Apache HttpClient 5 and its reactive module.
5 years ago
Rossen Stoyanchev
4952336419
Polishing contribution
...
See gh-25856
5 years ago
Rostislav Svoboda
babcbd0d2b
Simplify code for SimpleClientHttpRequestFactory.prepareConnection
5 years ago
Rossen Stoyanchev
7e647ab1d8
HttpHeadResponseDecorator sets Content-Length for Mono only
...
See gh-25908
5 years ago
Rossen Stoyanchev
431ec906c4
Ensure buffers released in HttpHeadResponseDecorator
...
See gh-25908
5 years ago
Rossen Stoyanchev
1d96f6a266
HttpHeaderResponseDecorator checks for "Transfer-Encoding"
...
This commit extends the fix from b86c11cc9b
by checking for both existing Content-Length and Transfer-Encoding.
Closes gh-25908
5 years ago
Juergen Hoeller
7b6293fa05
Avoid outdated Jackson API in tests
...
See gh-25907
5 years ago
Juergen Hoeller
a6e48811c0
Compatibility with Jackson 2.12 (tested against 2.12.0-rc1)
...
Closes gh-25907
5 years ago
Juergen Hoeller
06b6a4be16
Polishing
5 years ago
Juergen Hoeller
f3f19504c6
Polishing
5 years ago
Juergen Hoeller
7f365942a5
Nullability refinements and related polishing
5 years ago
Juergen Hoeller
1b63c31722
Avoid creation of unnecessary logger instances in web request abstraction
...
Closes gh-25900
5 years ago
Juergen Hoeller
e176c4e799
Polishing
5 years ago
Juergen Hoeller
66a67ec807
Polishing
5 years ago
Juergen Hoeller
69c330d905
Attempt fallback Part resolution even without StandardMultipartHttpServletRequest
...
Closes gh-25829
5 years ago
Juergen Hoeller
21f2863d8e
ControllerAdvice resolution detects @Order declared on @Bean method as well
...
Closes gh-25872
5 years ago
Juergen Hoeller
83bfee9201
Return null in case of no matching part even for array/collection parameter
...
Closes gh-25819
5 years ago
Juergen Hoeller
50b9542402
Apply handleMissingValue in case of null conversion result as well
...
Closes gh-23939
5 years ago
Rossen Stoyanchev
5b1b20c8c0
Polishing and minor refactoring
...
See gh-25884
5 years ago
Rossen Stoyanchev
e73e489fd8
Remove use of MonoProcessor.fromSinks
...
See gh-25884
5 years ago
Sébastien Deleuze
c4de445822
Upgrade to kotlinx.serialization 1.0.0
5 years ago
Sébastien Deleuze
94a42a3086
Support suspending handler methods in Spring MVC
...
This commit adds support for Kotlin Coroutines suspending functions to
Spring MVC, by converting those to a Mono that can then be handled by
the asynchronous request processing feature.
It also optimizes Coroutines detection with the introduction of an
optimized KotlinDetector.isSuspendingFunction() method that does not
require kotlin-reflect.
Closes gh-23611
5 years ago
Rossen Stoyanchev
fee8abfa5f
Drop "[]" from parameter names in data binding
...
Closes gh-25836
5 years ago
Rossen Stoyanchev
eb11c6fa23
Reinstate removal of jsessionid from lookup path
...
Closes gh-25864
5 years ago
Sébastien Deleuze
9990bd2ea8
Fix checkstyle errors
...
See gh-25771
5 years ago
Sébastien Deleuze
92b2c45281
Add kotlinx.serialization JSON support to Spring WebFlux
...
Flow decoding is not supported yet since it depends on
kotlin/kotlinx.serialization#1073 , but it will be
enabled when this issue will be fixed.
Closes gh-25771
5 years ago
Rossen Stoyanchev
1cd8871d7f
FormHttpMessageConverter preserves MediaType parameters
...
Closes gh-25839
5 years ago
Rossen Stoyanchev
1c5b95db0b
Revert workaround in Jetty connector
...
The workaround was removed in the 5.3 milestone phase and in master
only because the referenced Jetty issue is marked fixed. However,
what we need to replace it with should be a little more involved
and also it's not entirely clear if the fixes in Jetty aligns with
our release and retain semantics so that needs to be investigated
more thoroughly.
5 years ago
Сергей Цыпанов
8a04910bdd
Drop explicit zeroing at instantiation of Atomic* objects
5 years ago
Juergen Hoeller
f83bb7183e
Polishing
5 years ago
Rossen Stoyanchev
2533ba5253
Use Mono.fromDirect for Jetty ReactiveRespnose
...
Closes gh-25849
5 years ago