Sebastien Deleuze
5cd6763193
Add CBOR codec (single value only)
...
This commit adds CBOR reactive support for single value only in
order to allow CBOR usage in RSocket. Notice that no CBOR support
is configured on WebFlux, this will require gh-20513 to be resolved.
Closes gh-22767
2019-04-29 13:13:37 +02:00
Phillip Webb
55ac110f7b
Fix LinkedCaseInsensitiveMap collection methods
...
Ensure that results returned from keySet, entrySet & values are tracked
to remove case insensitive keys from the source map.
Closes gh-22821
2019-04-26 11:17:51 -07:00
Juergen Hoeller
55418b256d
Merge branch '5.1.x'
2019-04-26 16:56:04 +02:00
Juergen Hoeller
e5e2d2d661
Polishing (includes minor performance refinements from master)
2019-04-26 16:51:18 +02:00
Juergen Hoeller
ad497c259a
Merge branch '5.1.x'
2019-04-25 14:55:04 +02:00
Juergen Hoeller
42fda0ba15
Upgrade to Tomcat 9.0.19, Jetty 9.4.17, Netty 4.1.35, OkHttp 3.14.1
...
Includes upgrade to Hibernate ORM 5.3.10 (for branch 5.1.x)
2019-04-25 14:32:37 +02:00
Sam Brannen
e5d64e6680
Remove dead code in HttpHeadersTests
2019-04-21 15:33:53 +02:00
Sam Brannen
e187a42bfc
Introduce failing tests for HttpHeaders
...
See gh-22821
2019-04-21 15:20:24 +02:00
Rossen Stoyanchev
c09e711eb2
Unwrap Optional for @RequestParam reverse resolution
...
Closes gh-22656
2019-04-18 22:40:12 -04:00
Rossen Stoyanchev
86835e8e5a
Merge branch '5.1.x'
2019-04-17 14:23:44 -04:00
Rossen Stoyanchev
13c746ae9d
Follow-up fix for #5b711a
...
Not only do we need to preserve Mono in writeWith in the base class
but also in ReactorServerHttpResponse where buffers are mapped.
See gh-22800
2019-04-17 13:18:01 -04:00
Rossen Stoyanchev
de3238dbea
Merge branch '5.1.x'
2019-04-16 21:08:54 -04:00
Rossen Stoyanchev
5b711a964b
Pass Mono to Reactor Netty when feasible
...
Closes gh-22800
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
15b2fb1210
Polish
...
Replacing a couple of calls to Mono.fromCallable with Mono.just which
seems to work with doOnDiscard except when nested inside Flux.defer.
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
375090bb7c
LeakAwareDataBuffer related fixes
...
Following on 3ebbfa2191
where the local
refCount was removed in favor of using the internal refCount of the
native data buffer, this commit ensures that LeakAwareDataBufferFactory
uses a PooledDataBufferFactory delegate by default.
There are also fixes for test issues with eager allocation uncovered by
these changes in StringDecoder and ResourceDecoder.
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
ed650891ca
Add filter to add exchange to Reactor Context
...
Closes gh-21746
2019-04-16 10:08:20 -04:00
Rossen Stoyanchev
e4da7cb47f
Merge branch '5.1.x'
2019-04-15 08:41:27 -04:00
Rossen Stoyanchev
0109231d8e
Ensure Jackson generator flushed
...
Closes gh-22771
2019-04-15 08:40:19 -04:00
Juergen Hoeller
44df98c82d
Merge branch '5.1.x'
2019-04-12 11:37:07 +02:00
Juergen Hoeller
b07d46da99
MockCookie compares attributes in case-insensitive manner
...
Closes gh-22786
2019-04-12 11:10:02 +02:00
Rossen Stoyanchev
5fc18064f2
Use encode with an Object value where feasible
...
Closes gh-22782
2019-04-11 19:00:28 -04:00
Rossen Stoyanchev
181482fa15
Add option to encode with an Object value
...
See gh-22782
2019-04-11 19:00:28 -04:00
Rossen Stoyanchev
f89d2ac148
Use decode from a DataBuffer where feasible
...
See gh-22782
2019-04-11 19:00:28 -04:00
Rossen Stoyanchev
a912d8de1e
Add option to decode from a DataBuffer
...
See gh-22782
2019-04-11 19:00:28 -04:00
Rossen Stoyanchev
2aae81ef0c
Join buffers in decodeToMono for Jackson and Jaxb2
...
Closes gh-22783
2019-04-11 19:00:28 -04:00
Sam Brannen
6d7bf8050f
Polishing
2019-04-10 13:15:16 +02:00
Rossen Stoyanchev
d707d382b4
Merge branch '5.1.x'
2019-04-09 22:38:15 -04:00
Rossen Stoyanchev
28e206a946
Apply doOnDiscard for streaming mode
...
Use of Flux.just is problematic in that if the Flux is cancelled before
demand, the item may never be read, nor freed. Flux#just does not
even delegate cancellation signals.
Closes gh-22731
2019-04-09 22:30:26 -04:00
Rossen Stoyanchev
b11e7feff6
Polish during review of DataBuffer handling
2019-04-09 22:19:05 -04:00
Rossen Stoyanchev
bd956ed75a
DataBuffer fixes in Protobuf codecs
...
Closes gh-22731
2019-04-09 17:00:26 -04:00
Rossen Stoyanchev
f839c1f9cd
Remove warning about empty @RequestMapping path
...
See gh-22543
2019-04-09 15:03:43 -04:00
Juergen Hoeller
eb971690d2
Merge branch '5.1.x'
2019-04-09 18:09:20 +02:00
Juergen Hoeller
2835424f9d
Jackson2Tokenizer creates fully configured DeserializationContext
...
Closes gh-22510
2019-04-09 17:59:10 +02:00
Juergen Hoeller
c8609b83b6
Merge branch '5.1.x'
2019-04-08 20:19:03 +02:00
Juergen Hoeller
4ec9aff01d
Polishing
2019-04-08 19:59:06 +02:00
Juergen Hoeller
d1303affc8
Avoid expensive Stream API usage in HttpRange
...
See gh-22742
2019-04-08 19:42:21 +02:00
ladislav-bozek
4d17eb4f0e
Fix typo in JavaDoc for UrlPathHelper.setUrlDecode()
...
Closes gh22768
2019-04-08 17:37:59 +02:00
Sebastien Deleuze
2e7ed915cd
Merge branch '5.1.x'
2019-04-08 15:46:47 +02:00
Sebastien Deleuze
a089027e7d
Fix a regression in Jackson builder module registration
...
This commit brings back the support for registration of multiple
Jackson modules with a null typeId.
Closes gh-22740
2019-04-08 15:37:10 +02:00
Sam Brannen
ab1b8dee58
Ensure XmlEventDecoder compiles on JDK 9 and 11
2019-04-06 16:00:33 +02:00
Sam Brannen
021909dac2
Merge branch '5.1.x'
2019-04-06 11:22:15 +02:00
Sam Brannen
a1668ad1c2
Fix Javadoc for PathPattern
2019-04-06 11:21:39 +02:00
Rossen Stoyanchev
02da8486a3
Merge branch '5.1.x'
2019-04-05 21:53:55 -04:00
Rossen Stoyanchev
6cabb79f0f
Decode resourcePath for classpath locations
...
Closes gh-22272
2019-04-05 16:23:33 -04:00
Sam Brannen
d04a640baf
Polish Javadoc for @RequestMapping
2019-04-05 14:03:10 +02:00
Juergen Hoeller
b90e6ef8a0
Merge branch '5.1.x'
2019-04-05 12:48:34 +02:00
Juergen Hoeller
da557e7415
Avoid expensive assertions in HttpRange
...
Closes gh-22742
2019-04-05 12:47:02 +02:00
Sam Brannen
c0b52d09f5
Require explicit path mappings for @RequestMapping methods
...
Prior to this commit, handler methods in Spring MVC controllers were
not required to provide explicit path mappings via @RequestMapping (or
any of its specializations such as @GetMapping). Such handler methods
were effectively mapped to all paths. Consequently, developers may have
unwittingly mapped all requests to a single handler method.
This commit addresses this by enforcing that @RequestMapping methods
are mapped to an explicit path. Note, however, that this is enforced
after type-level and method-level @RequestMapping information has been
merged.
Developers wishing to map to all paths should now add an explicit path
mapping to "/**" or "**".
Closes gh-22543
2019-04-04 17:33:59 +02:00
Sam Brannen
de69871354
Removed unused import
2019-04-04 17:13:08 +02:00
Juergen Hoeller
1741b6dcd9
Merge branch '5.1.x'
2019-04-04 16:12:07 +02:00