Juergen Hoeller
96bfc14dba
No warn logging for propagated original exception
...
Issue: SPR-14907
2016-11-22 16:00:23 +01:00
Juergen Hoeller
9bf4d7cf4e
Polishing
2016-11-22 14:57:00 +01:00
Juergen Hoeller
85b0ce1ef7
Avoid defensive checks against java.time API
...
Issue: SPR-13188
2016-11-22 14:55:03 +01:00
Juergen Hoeller
a0fee4657d
JdbcUtils explicitly extracts SQL date/time for JSR-310 LocalDate/Time
...
Issue: SPR-14898
2016-11-22 14:52:21 +01:00
Juergen Hoeller
3b49aacb9f
Merge pull request #1241 from dreis2211/registry-user-count
...
Implement allocation-friendly method to get user count in SimpUserRegistry
2016-11-21 21:14:42 +01:00
Christoph Dreis
a929e9ccaa
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
2016-11-21 21:02:10 +01:00
Juergen Hoeller
da63898d5f
Polishing
2016-11-21 17:36:04 +01:00
Juergen Hoeller
a49809b1a4
WebSocketServerSockJsSession uses dedicated disconnect lock
...
Issue: SPR-14917
2016-11-21 17:24:44 +01:00
Juergen Hoeller
94fd4a696f
Downgrade to Jetty 9.4 RC1 (since RC2 has broken HEAD handling)
2016-11-21 17:20:55 +01:00
Juergen Hoeller
fe7f4db2ae
Latest dependency updates (Jackson 2.8.5, Joda-Time 2.9.6, Jetty 9.4 RC2, RxNetty 0.5.2 RC5)
2016-11-21 10:13:20 +01:00
Arjen Poutsma
dbe81bef52
Add PATCH method operation to RestTemplate
...
This commit adds a HTTP PATCH operation to the RestTemplate:
patchForObject. As with most operations, there are three variants:
varargs, Map, and URI based.
Issue: SPR-14857
2016-11-17 10:19:09 +01:00
Stephane Nicoll
f0ceefba0e
Polish doc
2016-11-17 07:25:11 +09:00
Rossen Stoyanchev
a224874b43
Improve resolution of multi-value async model attrs
...
Multi-value async attributes like Flux and Observable in the model
are treated with Collection semantics and resolved to Mono<List<?>>
prior to rendering.
2016-11-16 14:18:09 -05:00
Brian Clozel
bb702ee9c0
Gradle plugins: update sonarqube and remove protobuf
...
Since https://jira.sonarsource.com/browse/SONARGRADL-30 , we can now
safely update to sonarqube plugin v2.2.1.
The protobuf gradle plugin is now deprecated - instead of configuring
the new plugin supported by Google, this commits drops that part of the
gradle build since that proto->java conversion is rarely needed and can
be manually run by any member of the team.
2016-11-16 14:06:59 +01:00
Brian Clozel
cb44f2746e
Prevent resource transformation of gzipped CSS files
...
When resolved through the `GzipResourceResolver`, CSS files can be
resolved as their pre-gzipped variant, if a ".gz" file is present in the
configured resource locations.
Such resources are gzipped and thus should not be transformed by
`CssLinkResourceTransformer`s, since rewriting those would need to
uncompress/transform/recompress. This would lead to poorer performances
than resolving plain resources and delegating compression to the
container.
This commit checks for `GzippedResource` instances in
`CssLinkResourceTransformer` and avoids processing them.
Issue: SPR-14773
2016-11-16 10:26:09 +01:00
Juergen Hoeller
a4f1842738
Latest dependency updates (Hibernate Validator 5.3.2, Caffeine 2.3.5, RxJava 2.0.1, Tomcat 8.5.8)
2016-11-14 18:21:54 +01:00
Arjen Poutsma
6de062d198
Fix RouterFunction.andRoute()
...
Fixed RouterFunction.andRoute signature.
Issue: SPR-14904
2016-11-14 17:17:05 +01:00
Mark Paluch
6261106a93
Fix TLS detection in URLs for Netty Client RequestFactory
...
Do not check on non-specified port when scheme is https.
Enables SSL for https URIs with a specified port.
Issue: SPR-14889
2016-11-11 16:39:18 +01:00
Juergen Hoeller
3a29daac45
ASM-generated class names get interned for better memory allocation
...
Issue: SPR-14886
2016-11-08 17:38:57 +01:00
Juergen Hoeller
dc8cd4e4c0
Polishing
...
Issue: SPR-14888
2016-11-08 17:26:59 +01:00
Juergen Hoeller
55afb59c7a
Merge pull request #1233 from kazuki43zoo/SPR-14888
...
Detect invalid configuration for autoGrowCollectionLimit on DataBinder
2016-11-08 17:17:47 +01:00
Kazuki Shimizu
124f2128fa
Detect invalid configuration for autoGrowCollectionLimit on DataBinder
...
Issue: SPR-14888
2016-11-09 01:00:27 +09:00
Juergen Hoeller
dda9762072
Moved WebExchangeDataBinder to web.bind.support (alongside WebRequestDataBinder)
...
Issue: SPR-14542
2016-11-08 11:01:58 +01:00
Juergen Hoeller
f0be79e0a1
Promoted BindingContext to web.reactive root (since HandlerResult requires it there)
...
Issue: SPR-14542
2016-11-08 09:33:49 +01:00
Sebastien Deleuze
99a8510ace
Introduce HttpHeaders get/setContentDisposition()
...
This commit introduces a new ContentDisposition class designed
to parse and generate Content-Disposition header value as defined
in RFC 2183. It supports the disposition type and the name,
filename (or filename* when encoded according to RFC 5987) and
size parameters.
This new class is usually used thanks to
HttpHeaders#getContentDisposition() and
HttpHeaders#setContentDisposition(ContentDisposition).
Issue: SPR-14408
2016-11-08 01:12:23 +01:00
Juergen Hoeller
c44c607570
Consistent references to plain class names in exception messages
...
Issue: SPR-14883
2016-11-07 22:10:26 +01:00
Juergen Hoeller
b3cd1ad7f1
Refined throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 19:03:18 +01:00
Juergen Hoeller
cf479bf893
Consistent throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
(cherry picked from commit b42d731
)
2016-11-07 18:00:21 +01:00
Rossen Stoyanchev
1f128110f7
Merge reactive @ModelAttribute support
2016-11-07 15:04:45 +02:00
Rossen Stoyanchev
6b73700f74
Reactive support for @ModelAttribute methods
...
Issue: SPR-14542
2016-11-07 15:03:15 +02:00
Rossen Stoyanchev
e59dcedfee
BindingResult inserted before rendering
...
Issue: SPR-14542
2016-11-07 15:03:15 +02:00
Rossen Stoyanchev
ae003e89c1
HandlerResult provides access to BindingContext
...
Issue: SPR-14542
2016-11-07 15:03:15 +02:00
Rossen Stoyanchev
6abd4d5ff5
Async model attributes resolved before rendering
...
Issue: SPR-14542
2016-11-07 15:03:15 +02:00
Rossen Stoyanchev
d163240ed4
Reactive support for Errors argument
...
Issue: SPR-14542
2016-11-07 15:02:13 +02:00
Rossen Stoyanchev
816e32872a
Reactive support for @ModelAttribute argument
...
Issue: SPR-14542
2016-11-07 15:02:13 +02:00
Rossen Stoyanchev
3230ca6d39
Add ConcurrentModel
...
This commit adds a Model implementation based on ConcurrentHashMap for
use in Spring Web Reactive.
Issue: SPR-14542
2016-11-07 15:02:13 +02:00
Juergen Hoeller
9b57437b7a
Polishing
2016-11-07 12:55:35 +01:00
Juergen Hoeller
7f4904ed22
Avoid deprecated Mockito methods
...
Issue: SPR-14880
2016-11-04 20:39:53 +01:00
Sebastien Deleuze
9b10541111
Upgrade to reactor-test 3.0.3.RELEASE
2016-11-04 20:12:00 +01:00
Sebastien Deleuze
b447d7dbe6
Rename expectErrorMatch() to expectErrorMatches()
2016-11-04 17:15:03 +01:00
Sebastien Deleuze
b338e6d7aa
Rename expectErrorWith() to expectErrorMatch()
2016-11-04 16:14:09 +01:00
Juergen Hoeller
671c4e9650
Upgrade to Tiles 3.0.7
2016-11-04 15:01:14 +01:00
Juergen Hoeller
4936fe6088
Upgrade to OkHttp 3.4.2, RxJava 1.2.2 and Mockito 2.2.11
2016-11-04 14:22:22 +01:00
Juergen Hoeller
365ecd4cca
Polishing
2016-11-04 14:14:31 +01:00
Juergen Hoeller
8df45dd274
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
2016-11-04 12:54:24 +01:00
Juergen Hoeller
cd398ed9e4
Upgrade to Joda-Time 2.9.5
2016-11-04 12:26:33 +01:00
Juergen Hoeller
17f5f86a54
Polishing
2016-11-04 12:25:38 +01:00
Juergen Hoeller
ac774cdcef
Avoid deprecated Mockito methods
...
Issue: SPR-14880
2016-11-04 12:24:46 +01:00
Rossen Stoyanchev
475b876f08
Add ResponseEntity test
2016-11-04 13:18:53 +02:00
Rossen Stoyanchev
c430402872
Improve support for Mono<ResponseEntity<?>>
...
If the body class is not resolvable from the return type and there is
a body instance we now fall back on the class of the body instance.
Issue: SPR-14877
2016-11-04 12:51:00 +02:00