Juergen Hoeller
b2b0df893a
Merge branch '5.1.x'
2019-03-05 14:20:02 +01:00
Juergen Hoeller
d034c053b3
Jackson2Tokenizer passes DeserializationContext into all TokenBuffers
...
See gh-22510
2019-03-05 13:47:26 +01:00
Juergen Hoeller
216e4eeba4
General doc revision: configuration updates, consistent formatting etc
2019-03-05 13:08:34 +01:00
Juergen Hoeller
3eb1042a53
Revised AOP documentation: load-time weaving, CGLIB etc
...
Includes removal of outdated Spring 1.2/2.0 references.
Closes gh-22429
2019-03-05 13:08:24 +01:00
Juergen Hoeller
013c0bca92
Polishing
2019-03-05 13:08:11 +01:00
Juergen Hoeller
f6693e790a
Jackson2Tokenizer passes DeserializationContext into TokenBuffer
...
Closes gh-22510
2019-03-05 13:08:04 +01:00
Juergen Hoeller
6c599208f6
Remove javadoc reference to unsupported FieldInterceptor
...
Closes gh-22507
2019-03-05 13:07:57 +01:00
Sebastien Deleuze
412c673db2
Add missing MockMvc.head Kotlin extension
...
See gh-1951
2019-03-05 09:35:39 +01:00
Rossen Stoyanchev
1ec3261062
Initial support for RSocket in spring-messaging
2019-03-04 23:36:27 -05:00
Rossen Stoyanchev
9e7f557b4a
Updates for buffer management in RSocket
...
- Integration tests run with zero copy configuration.
- RSocketBufferLeakTests has been added.
- Updates in MessagingRSocket to ensure proper release
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
23b39ad27b
Explicit handling of void return values
...
Do give HandlerMethodReturnValueHandler's a chance to handle return
values so the RSocket reply header is always set.
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
fa95b010cb
Direct delegation to RSocketMessageHandler
...
Simplify handling by eliminating the use of a message channel. Instead
MessageHandlerAcceptor now extends from RSocketMessageHandler and
delegates directly to it.
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
555dca9aff
Refactoring in AbstractMethodMessageHandler
...
Split out the mechanics of invoking a HandlerMethod and handling the
result into a separate helper class.
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
4e1c0c6826
@MessageExceptionHandler supports error signal
...
Before this change if a controller method returned a Publisher whose
first signal was an error, the error signal would not be delegated to
a @MessageExceptionHandler method as expected.
To make this work for now we use a package private local copy of the
ChannelSendOperator from spring-web.
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
d6f4ec8c33
MessagingAcceptor/RSocket refinements + upgrade to 0.11.17
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
8bdd709683
RSocketRequester, RSocketStrategies, PayloadUtils
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
4e78b5df2f
RSocket @MessageMapping handling
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
f2bb95ba7b
Payload encoding/decoding and handling refinements
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
33682d74c2
ReactiveMessageChannel and ReactiveSubscribableChannel
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
ceccd9fbee
Polish
...
Updates to synchronize with newly created reactive equivalents.
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
5b3b0b1a7b
Polish
...
The package o.s.messaging.handler.annotation.support was missing
@NonnullApi and @NonNullFields. This commit corrects that and also
adds @Nullable to methods and arguments as needed to address
warnings.
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
567c559da8
Resolvers for destination vars and headers
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
dda40c1516
Reactive @MessageMapping
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
421090ca35
Reactive AbstractMessageMethodHandler
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
e3e1ffc986
Encoder/Decoder based payload serialization
...
See gh-21987
2019-03-04 23:35:43 -05:00
Rossen Stoyanchev
bcf4f3911b
Reactive InvocableHandlerMethod in spring-messaging
...
See gh-21987
2019-03-04 23:35:43 -05:00
Sebastien Deleuze
9e873af6ab
Remove infix qualifier from ResultActionsDsl methods
...
The infix form limits the extensibility of the API and
prevents calling `andReturn()`.
See gh-1951
2019-03-04 19:17:21 +01:00
Sebastien Deleuze
0c332286f1
Add MockMvc Kotlin DSL
...
This commit introduces a `MockMvc` Kotlin DSL via a set of
extensions like `MockMvc.get` or `MockMvc.request`
that provide a Kotlin idiomatic and easily discoverable
API while staying close to the original Java API design.
Closes gh-1951
2019-03-04 18:00:49 +01:00
Sam Brannen
b7d60b9b89
Improve @EventListener documentation
2019-03-04 14:44:44 +01:00
Sam Brannen
70cf597484
Remove obsolete overview.html files
2019-03-04 14:07:48 +01:00
Brian Clozel
3ac1dddb9d
Merge branch '5.1.x'
2019-03-04 13:58:41 +01:00
Andrew Tulloch
090aceb3ad
Fix repeated calls to DataBuffer.write(CharSequence, Charset)
...
Prior to this commit, repeated calls to `DataBuffer.write(CharSequence,
Charset)` would not write the given chars to the expected position in
the original buffer.
This commit fixes that by writing to the `outBuffer.position()`, offset
by the current `DataBuffer.writePosition()`.
Fixes gh-22484
2019-03-04 13:37:06 +01:00
Stephane Nicoll
45b6c0fcb5
Merge branch '5.1.x'
2019-03-04 09:42:10 +01:00
Stephane Nicoll
2137cc4422
Merge pull request #22500 from DamianChlod
...
* pr/22500:
Fix typo in `my-property'
2019-03-04 09:41:42 +01:00
DamianChlod
fe458aabde
Fix typo in `my-property'
...
Closes gh-22500
2019-03-04 09:40:58 +01:00
Sam Brannen
0ca5afd8e4
Fix broken test
2019-03-03 23:08:44 +01:00
Sam Brannen
e7bd305e87
Suppress warnings in tests
2019-03-03 22:17:52 +01:00
Sam Brannen
4112ca7da8
Separate async/sync TestContext event listeners in tests
...
See gh-18490
2019-03-03 21:30:49 +01:00
Sam Brannen
6daf33deff
Document that @Async is not supported in @Configuration classes
2019-03-03 18:29:45 +01:00
Sam Brannen
a9f251db42
Fix broken Javadoc links
2019-03-03 17:18:18 +01:00
Sam Brannen
8e2b14a2b6
Fix Javadoc links to Quartz
...
See https://github.com/quartz-scheduler/quartz-scheduler.org-site/issues/42
2019-03-03 17:04:34 +01:00
Sam Brannen
b5fb7437c9
Test exception handling for TestContext event annotations
...
This commit introduces tests for both synchronous and asynchronous
exception handling for TestContext event annotations.
See gh-18490
2019-03-03 16:36:00 +01:00
Sam Brannen
6853d50ddb
Polishing
2019-03-03 16:29:49 +01:00
Sam Brannen
e272e2e151
Support conditional processing in TestContext event annotations
...
This commit introduces support for SpEL expressions for conditional
event processing in annotations such as @BeforeTestClass,
@BeforeTestMethod, etc.
This commit also introduces a new getTestContext() method in
TestContextEvent in order to improve the readability of such SpEL
expressions.
See gh-18490
2019-03-02 17:26:57 +01:00
Sam Brannen
f6d62eda8b
Add missing @Nullable declarations to TestContext return values
2019-03-02 16:36:23 +01:00
Sam Brannen
8649061acc
Polish Javadoc for TestContext
2019-03-02 16:25:23 +01:00
Sam Brannen
abda6a6c66
Polishing
2019-03-02 16:17:58 +01:00
Sam Brannen
d4f544d42f
Add missing precondition check to AutowireUtils.resolveDependency
...
See gh-2060
2019-03-02 14:39:43 +01:00
Sam Brannen
02be21d0dc
Polishing
2019-03-02 14:22:28 +01:00
Sam Brannen
7d926a847d
Polish tests for TestContext lifecycle events
...
See gh-18490
2019-03-01 21:26:37 +01:00