Arjen Poutsma
b74c09d12e
Add DataBuffer.retainedSlice
...
Add method retainedSlice to the DataBuffer, defaulting to using
DataBufferUtils for retain, but allowing for ByteBuf specific override.
6 years ago
Mark Paluch
1d80cbea35
Replace signal materialization in TransactionAspectSupport with usingWhen
...
We now use Flux.usingWhen() instead materialize/dematerialize operators
to reuse Reactor's resource closure.
Until usingWhen() accepts a BiFunction to consume error signals,
we need to map error signals outside of usingWhen which requires
re-wrapping of the ReactiveTransaction object.
Also, reuse the current TransactionContext to leave Transaction
creation/propagation entirely to ReactiveTransactionManager instead
of creating new TransactionContexts.
6 years ago
Juergen Hoeller
28c5d7b586
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
053b95ceeb
Refer to non-deprecated Jackson 2.5+ addMixIn method in javadoc
6 years ago
Stephane Maldini
d45f7c4828
Use explicit onErrorMap(class.java) instead of reactor kotlin extension
6 years ago
Juergen Hoeller
d16beb0e55
Polishing
...
See gh-22900
6 years ago
Juergen Hoeller
85cecb66e5
Consistent parameter retrieval across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Juergen Hoeller
f56c70d2f0
Merge branch '5.1.x'
6 years ago
Stephane Maldini
fd36d1efe6
Use explicit expectError(class.java) instead of reactor kotlin extension
6 years ago
Juergen Hoeller
c841b62bb0
Consistent parameter retrieval across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Stephane Maldini
3f8be3416e
Use explicit cast to avoid dependency on reactor-core kotlin extension
6 years ago
Juergen Hoeller
30a1f6fed5
Consistent exception naming across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Juergen Hoeller
4b06d8e511
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
3f85a7db1b
Consistent exception naming across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Juergen Hoeller
379d81da74
Consistent thread-safe handling of manualSingletonNames Set
...
Closes gh-22896
6 years ago
Ippei Nawate
47ff92873b
Add null check
6 years ago
Sebastien Deleuze
2b3df1fa30
Merge branch '5.1.x'
6 years ago
Sebastien Deleuze
4b31feb243
Clarify Jackson2ObjectMapper.modules(ToInstall) semantics
...
Closes gh-22747
6 years ago
Rossen Stoyanchev
53cadf15e7
Deferred handling of Flux error in Spring MVC
...
This commit defers flushing of the response until the first item is
emitted that needs to be written (and flushed) to the response.
This makes Spring MVC consistent with WebFlux in this regard.
Closes gh-21972
6 years ago
Rossen Stoyanchev
15e1af2281
Protected methods to determine payload target type
...
Closes gh-22035
6 years ago
Sebastien Deleuze
e16a134075
Refine WebFlux Kotlin extensions
...
ServerRequest:
- awaitPrincipalOrNull is renamed to awaitPrincipal since
there is no non-nullable variant
ServerResponse:
- new BodyBuilder.sse() extension
- BodyBuilder.bodyToServerSentEvents is deprecated in favor
of sse().body()
- BodyBuilder.bodyAndAwait(flow: Flow<T>) is renamed to
bodyFlowAndAwait to avoid shadowing of
BodyBuilder.bodyAndAwait(body: Any)
- BodyBuilder.bodyToServerSentEventsAndAwait is removed,
sse().bodyAndAwait() should be used instead
Closes gh-22899
6 years ago
Sam Brannen
d616e10dca
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
47c39304af
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
c79fdfb668
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
d4379630e2
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
0aeb7d1e02
Delete dead code in TransactionSynchronizationManager
6 years ago
Sam Brannen
1928167d5d
Delete dead code in ReactiveTransactionInterceptorTests
6 years ago
Sam Brannen
772ef40920
Upgrade to JUnit 4.13-beta-3
...
See gh-22894
6 years ago
Sam Brannen
7ed4df20a8
Ensure AbstractReactiveTransactionManager compiles in Eclipse IDE
6 years ago
Sam Brannen
3dc38a08c8
Add missing return in AbstractReactiveTransactionManager.processCommit()
6 years ago
Sam Brannen
21864c80d7
Suppress warning
6 years ago
Stephane Nicoll
0b97cc9ebd
Polish
6 years ago
Stephane Nicoll
7d0a49474e
Merge pull request #22891 from rewolf
...
* pr/22891:
Polish contribution
Polish CONTRIBUTING.md
6 years ago
Stephane Nicoll
1542d97dab
Polish contribution
...
Closes gh-22891
6 years ago
Andrew Flower
6eb4ac60ab
Polish CONTRIBUTING.md
...
See gh-22891
6 years ago
Juergen Hoeller
28039057fd
Consistent naming of HandlerMethodArgumentResolver implementations
...
Includes combined imports of assertion methods and related polishing.
Closes #22889
6 years ago
Juergen Hoeller
30bbf91dba
Rename PayloadArgumentResolver to PayloadMethodArgumentResolver
...
Closes gh-22888
6 years ago
Juergen Hoeller
57984c5705
Move package annotation.support.reactive to annotation.reactive
...
Aligned with invocation.reactive and transaction.reactive packages.
Closes gh-22887
6 years ago
Juergen Hoeller
9eb095d921
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
293188c797
Consistent non-use of firstIndex 0 in PatternMatchUtils
...
Closes gh-22837
6 years ago
Juergen Hoeller
9674ce4906
Avoid HashSet/StringBuilder allocation for non-placeholder values
...
Closes gh-22870
6 years ago
Johnny Lim
d489227874
Use HttpHeaders constants where possible
6 years ago
Juergen Hoeller
ffbecf1427
Fix Checkstyle violation
6 years ago
Juergen Hoeller
f0f6af2926
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
ea4a174583
Polishing
6 years ago
Juergen Hoeller
3d6476da46
Polishing
6 years ago
Juergen Hoeller
a7949ac84a
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
6 years ago
Mark Paluch
83046531da
Replace signal materialization in TransactionalOperator with usingWhen
...
We now use Flux.usingWhen() instead materialize/dematerialize operators
to reuse Reactor's resource closure.
Until usingWhen() accepts a BiFunction to consume error signals,
we need to map error signals outside of usingWhen which requires
re-wrapping of the ReactiveTransaction object.
6 years ago
Mark Paluch
9cff07ce35
Fix doCleanupAfterCompletion invocation
...
doCleanupAfterCompletion gets now subscribed to when processing
cleanup after a new transaction.
6 years ago
Juergen Hoeller
ec8689d1fc
Merge branch '5.1.x'
6 years ago