Marten Deinum
c9b27af64f
Reduce overhead of char[] creation
...
There are more locations which could benefit from not using a
toCharArray on a String, but rather use the charAt method from
the String itself. This to prevent an additional copy of the
char[] being created.
4 years ago
Juergen Hoeller
7206a23d33
Consistent attribute value spelling for PATH_ATTRIBUTE
...
See gh-24945
4 years ago
Rossen Stoyanchev
204a7fe91f
UrlPathHelper.removeJsessionid correctly appends remainder
...
Closes gh-26079
4 years ago
Rossen Stoyanchev
ba9325446c
Optimize WebClientUtils
...
Use constant Predicate for exception wrapping.
Use ResponseEntity constructor instead of builder.
See gh-26069
4 years ago
Juergen Hoeller
6825287360
Polishing
4 years ago
izeye
0c347769a2
Fix wrong reference in UrlPathHelper.removeSemicolonContentInternal()
...
This commit also changes to short-circuit when `slashIndex` is -1.
4 years ago
Rossen Stoyanchev
6e51370490
AbstractJackson2Encoder support for MappingJacksonValue
...
Closes gh-26035
4 years ago
Juergen Hoeller
19911af30a
Polishing
4 years ago
Juergen Hoeller
f2f84bfa7a
Polishing
4 years ago
Juergen Hoeller
990a9c74b9
Restore removal of trailing semicolon content
...
See gh-26012
4 years ago
Сергей Цыпанов
0015fd6734
Improve URI/query strings sanitization
4 years ago
Rossen Stoyanchev
0f6038af70
Log can[Se]Deserialize error in Jackson codecs
...
Closes gh-25892
4 years ago
Rossen Stoyanchev
7be7e5beb4
Ensure response not closed by MappingJackson2HttpMessageConverter
...
Closes gh-25987
4 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
4 years ago
Sébastien Deleuze
5b910a87c3
Polishing
4 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)`.
4 years ago
Rossen Stoyanchev
a40cc8bbe0
Polishing contribution
...
Closes gh-25647
4 years ago
Riley Park
6e640c806f
Improve support for Content-Disposition types
...
See gh-25647
4 years ago
Rossen Stoyanchev
e66e34766e
Support Optional in UriComponentsBuilder#queryParam
...
Closes gh-25951
4 years ago
Rossen Stoyanchev
5644a7aebb
Polishing contribution
...
Closes gh-25951
4 years ago
Robin Roos
7af726480f
Add queryParamIfPresent to UriComponentsBuilder
...
See gh-25951
4 years ago
Juergen Hoeller
621295dbd8
Deprecate StringUtils.isEmpty(Object) and replace remaining usage
...
Closes gh-25945
4 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
4 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.
4 years ago
Rossen Stoyanchev
4952336419
Polishing contribution
...
See gh-25856
4 years ago
Rostislav Svoboda
babcbd0d2b
Simplify code for SimpleClientHttpRequestFactory.prepareConnection
4 years ago
Rossen Stoyanchev
7e647ab1d8
HttpHeadResponseDecorator sets Content-Length for Mono only
...
See gh-25908
4 years ago
Rossen Stoyanchev
431ec906c4
Ensure buffers released in HttpHeadResponseDecorator
...
See gh-25908
4 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
4 years ago
Juergen Hoeller
7b6293fa05
Avoid outdated Jackson API in tests
...
See gh-25907
4 years ago
Juergen Hoeller
a6e48811c0
Compatibility with Jackson 2.12 (tested against 2.12.0-rc1)
...
Closes gh-25907
4 years ago
Juergen Hoeller
06b6a4be16
Polishing
4 years ago
Juergen Hoeller
f3f19504c6
Polishing
4 years ago
Juergen Hoeller
7f365942a5
Nullability refinements and related polishing
4 years ago
Juergen Hoeller
1b63c31722
Avoid creation of unnecessary logger instances in web request abstraction
...
Closes gh-25900
4 years ago
Juergen Hoeller
e176c4e799
Polishing
4 years ago
Juergen Hoeller
66a67ec807
Polishing
4 years ago
Juergen Hoeller
69c330d905
Attempt fallback Part resolution even without StandardMultipartHttpServletRequest
...
Closes gh-25829
4 years ago
Juergen Hoeller
21f2863d8e
ControllerAdvice resolution detects @Order declared on @Bean method as well
...
Closes gh-25872
4 years ago
Juergen Hoeller
83bfee9201
Return null in case of no matching part even for array/collection parameter
...
Closes gh-25819
4 years ago
Juergen Hoeller
50b9542402
Apply handleMissingValue in case of null conversion result as well
...
Closes gh-23939
4 years ago
Rossen Stoyanchev
5b1b20c8c0
Polishing and minor refactoring
...
See gh-25884
4 years ago
Rossen Stoyanchev
e73e489fd8
Remove use of MonoProcessor.fromSinks
...
See gh-25884
4 years ago
Sébastien Deleuze
c4de445822
Upgrade to kotlinx.serialization 1.0.0
4 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
4 years ago
Rossen Stoyanchev
fee8abfa5f
Drop "[]" from parameter names in data binding
...
Closes gh-25836
4 years ago
Rossen Stoyanchev
eb11c6fa23
Reinstate removal of jsessionid from lookup path
...
Closes gh-25864
4 years ago
Sébastien Deleuze
9990bd2ea8
Fix checkstyle errors
...
See gh-25771
4 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
4 years ago
Rossen Stoyanchev
1cd8871d7f
FormHttpMessageConverter preserves MediaType parameters
...
Closes gh-25839
4 years ago