Juergen Hoeller
b4f33adf48
Consistent java.util.Optional resolution, lenient handling of optional multipart files, correct Servlet 3.0 Part list/array selection
...
Issue: SPR-13418
Issue: SPR-13849
Issue: SPR-13850
Issue: SPR-13893
2016-01-26 18:06:15 +01:00
Stephane Nicoll
a112557dc4
Support SendTo at class-level
...
Issue: SPR-13578
2016-01-16 16:34:02 +01:00
Stephane Nicoll
2fc2c29e9a
Update copyright header
2016-01-15 10:51:11 +01:00
Rossen Stoyanchev
3dae3fd8a9
Refine ListenableFutureCallback policy for exceptions
...
This change updates all cases where callbacks are invoked to catch and
suppress errors (since there is not match to do with and error from
a callback be it success or failure).
Also updated is the contract itself to clarify this and emphasize the
callbacks are really notifications for the outcome of the
ListenableFuture not the callbacks themselves.
Issue: SPR-13785
2016-01-14 17:49:01 -05:00
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
2015-12-17 20:27:33 +01:00
Juergen Hoeller
8ce5e88c66
Require Jackson 2.6+, FreeMarker 2.3.21+, XStream 1.4.5+
...
Issue: SPR-13062
2015-12-17 17:14:50 +01:00
Juergen Hoeller
753347ea98
Consistent static final logger declarations
2015-12-16 20:44:00 +01:00
Juergen Hoeller
bdb606b8b1
Polishing
2015-12-13 23:27:05 +01:00
Juergen Hoeller
beef5ff4c3
Polishing
2015-12-10 01:12:58 +01:00
Juergen Hoeller
ca9a078d82
Polishing
2015-12-10 00:31:37 +01:00
Juergen Hoeller
f119962378
SimpAnnotationMethodMessageHandler ignores empty marker annotations
...
Issue: SPR-13704
2015-12-10 00:30:50 +01:00
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
2015-12-09 12:28:09 +01:00
Juergen Hoeller
8c4436926f
Polishing
2015-11-26 02:09:37 +01:00
Juergen Hoeller
a0747c2148
Consistent bean type checking for endpoint handlers
...
Issue: SPR-13725
2015-11-25 21:26:03 +01:00
Juergen Hoeller
e8417ea6e1
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
2015-11-24 17:37:12 +01:00
Juergen Hoeller
760bc719f2
Polishing
2015-11-09 15:03:14 +01:00
Juergen Hoeller
bc7bcab578
Consistent method selection for listeners and endpoint mappings
...
Issue: SPR-13654
2015-11-09 14:57:45 +01:00
Juergen Hoeller
23c8f712c4
Polishing
2015-11-02 21:30:03 +01:00
Juergen Hoeller
cca037a74d
Polishing
2015-11-02 14:42:46 +01:00
Sebastien Deleuze
994a11da3e
Document default charset in Jackson message converters Javadoc
...
Issue: SPR-13600
2015-10-26 11:39:00 +01:00
Rossen Stoyanchev
922e6de788
Avoid filtering if selector header is not in use
2015-10-13 12:14:17 -04:00
Rossen Stoyanchev
7ff915a01a
Enforce cacheLimit in DefaultSubscriptionRegistry
...
When the cacheLimit is reached and there is an eviction from the
updateCache, the accessCache is now also updated.
This change also ensures that adding a destination to the cache is
protected with synchronization on the updateCache.
Issue: SPR-13555
2015-10-13 12:14:16 -04:00
Juergen Hoeller
181533c464
MessageHeaders serialization preserves non-serializable entries in original instance
...
Issue: SPR-13541
2015-10-06 13:24:05 +02:00
Rossen Stoyanchev
8c316e1863
Avoid issue with switching from Reactor 2.0.5 to 2.0.6
...
We can't compile directly against NettyClientSocketOptions method which
changed signatures in 2.0.6. This change ensures the method is invoked
reflectively instead.
2015-09-30 18:43:07 -04:00
Rossen Stoyanchev
c75206f975
Prepare for Reactor 2.0.6
2015-09-29 10:42:44 -04:00
Rossen Stoyanchev
daa49c9bcd
StompDecoder handles partial headers correctly
...
Issue: SPR-13416
2015-09-23 16:51:55 -04:00
Juergen Hoeller
c4f5a0fb10
MessagingException provides null description (instead of empty String) to NestedRuntimeException
...
Issue: SPR-13447
2015-09-09 11:42:59 +02:00
Juergen Hoeller
667fc7e4a9
Polishing
2015-09-04 14:38:47 +02:00
Rossen Stoyanchev
4ecb3d4f3f
Update WebSocket docs on proxying @Controller
...
Issue: SPR-13384
2015-08-25 22:14:36 -04:00
Juergen Hoeller
8cd283729b
MessageHeaders returns completely immutable entry set (no entry.setValue call allowed)
...
Issue: SPR-13385
2015-08-25 17:54:54 +02:00
Juergen Hoeller
3d2e2cb3ae
Upgrade to Reactor 2.0.5
2015-08-17 13:00:29 +02:00
Juergen Hoeller
a369fc8afd
Introduce SmartMessageConverter interface with conversionHint arguments
...
Issue: SPR-13343
2015-08-12 17:45:46 +02:00
Juergen Hoeller
9ef38807e6
Polishing
2015-07-30 19:34:33 +02:00
Juergen Hoeller
b1d6ae77e1
Polishing
2015-07-30 00:08:36 +02:00
Sam Brannen
725292081e
Introduce 'value' alias for 'attribute' in @AliasFor
...
SPR-11512 introduced support for annotation attribute aliases via
@AliasFor, requiring the explicit declaration of the 'attribute'
attribute. However, for aliases within an annotation, this explicit
declaration is unnecessary.
This commit improves the readability of alias pairs declared within an
annotation by introducing a 'value' attribute in @AliasFor that is an
alias for the existing 'attribute' attribute. This allows annotations
such as @ContextConfiguration from the spring-test module to declare
aliases as follows.
public @interface ContextConfiguration {
@AliasFor("locations")
String[] value() default {};
@AliasFor("value")
String[] locations() default {};
// ...
}
Issue: SPR-13289
2015-07-29 15:27:06 +02:00
Juergen Hoeller
02d05ed133
Consistent lookup of parameter-level JsonView annotation
...
Issue: SPR-13265
2015-07-29 01:05:25 +02:00
Juergen Hoeller
d83735694e
Polishing
2015-07-28 12:15:48 +02:00
Rossen Stoyanchev
4b4efa9f6e
Placeholder support for STOMP @MessageMapping methods
...
Issue: SPR-13271
2015-07-27 16:54:21 -04:00
Rossen Stoyanchev
a65e0369f4
Polish SimpAnnotationMethodMessageHandlerTests
2015-07-27 16:54:21 -04:00
Juergen Hoeller
0f54f686b2
PayloadArgumentResolver supports JsonView as well (through AbstractMessageConverter revision)
...
AbstractMessageConverter provides overloaded methods with a conversion hint, MappingJackson2MessageConverter takes that hint into account, and SimpMessagingTemplate transformes such a hint in the given headers map into an explicit argument invocation argument.
Issue: SPR-13265
2015-07-24 17:50:31 +02:00
Juergen Hoeller
f06581f5b8
Polishing
2015-07-22 14:20:12 +02:00
Juergen Hoeller
edd6e76b9f
Polishing
2015-07-21 22:58:34 +02:00
Juergen Hoeller
203f1225c3
Polishing
2015-07-17 15:25:43 +02:00
Juergen Hoeller
2a36abcaea
Polishing
2015-07-07 16:44:19 +02:00
Sebastien Deleuze
97936140cc
Support HandlerMethod parameter in @MessageExceptionHandler
...
Issue: SPR-13196
2015-07-07 15:43:39 +02:00
Juergen Hoeller
f79a5c12d5
DefaultSubscriptionRegistry defensively checks for removal between keySet and get calls
...
Issue: SPR-13205
2015-07-07 11:11:56 +02:00
Juergen Hoeller
fefc4b478f
Polishing
2015-07-07 02:22:44 +02:00
Juergen Hoeller
145d88d152
Polishing
2015-07-07 00:26:31 +02:00
Juergen Hoeller
f0175bc42d
DefaultSubscriptionRegistry uses deep LinkedMultiValueMap copies between accessCache and updateCache
...
Issue: SPR-13185
2015-07-07 00:25:47 +02:00
Rossen Stoyanchev
16cbfcfd2f
Add test to demonstrate 4.2 not affected by SPR-13185
...
Issue: SPR-13185
2015-07-06 17:32:55 -04:00