Juergen Hoeller
8c4bc3656b
Polishing
2016-06-07 15:42:16 +02:00
Juergen Hoeller
6807bcb863
Fixed @since references after SPR-14080 backport
...
Issue: SPR-14305
(cherry picked from commit 9a41774 )
2016-06-07 13:38:17 +02:00
Juergen Hoeller
c412eabb00
Jackson2ObjectMapperBuilder/FactoryBean accepts deserializers by handled type
...
Issue: SPR-14337
2016-06-07 12:50:00 +02:00
Juergen Hoeller
abcfffdde9
Allow JAXB to be registered next to plain Jackson
...
Issue: SPR-14336
2016-06-07 12:36:17 +02:00
Rossen Stoyanchev
36765f0f52
Add protected method to reactive config
2016-06-06 22:24:46 -04:00
Rossen Stoyanchev
7ec85b21bb
Remove unused test class
2016-06-06 17:44:08 -04:00
Rossen Stoyanchev
0a88d5983a
Polish ResponseBodyArgumentResolver
2016-06-06 17:43:47 -04:00
Juergen Hoeller
3c987b179d
Upgrade to EhCache 3.0.2 and Castor 1.4.1
2016-06-06 22:22:23 +02:00
Sam Brannen
c19740a020
Clean up warnings in spring-test
2016-06-06 18:54:16 +02:00
Rossen Stoyanchev
c2a50ad1bf
Fine-tune X-Forwarded header in ForwardedHeaderFilter
...
The contextPathOverride property is now gone.
X-Forwarded-Header (if present) is used instead of the contextPath.
Issue: SPR-14270
2016-06-06 12:37:22 -04:00
Juergen Hoeller
9131ebbea6
Synchronized access to method overrides (in particular for @Lookup)
...
Issue: SPR-14333
2016-06-06 17:15:56 +02:00
Juergen Hoeller
e7561b1d7c
Updated @Autowired documentation in terms of collection/map/array matching
...
Issue: SPR-14332
2016-06-06 17:14:10 +02:00
Rossen Stoyanchev
5c236e1edf
Update to latest Reactor snapshot
2016-06-06 10:12:11 -04:00
Rossen Stoyanchev
03b474edfe
Add Web Reactive Java config
2016-06-06 09:50:46 -04:00
Rossen Stoyanchev
505569c992
Add Encoder constructor to HttpMessageConverterView
2016-06-06 09:50:16 -04:00
Rossen Stoyanchev
b45a48d0fc
Support for custom argument resolvers
2016-06-06 09:49:59 -04:00
Rossen Stoyanchev
998b83ce8c
Fix hardcoded value MockRestServiceServerBuilder
2016-06-06 08:46:50 -04:00
Juergen Hoeller
d7320f41c0
Upgrade to Undertow 1.4 Beta 1
...
Issue: SPR-14328
2016-06-04 11:27:37 +02:00
Juergen Hoeller
a9fda3e7e2
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
2016-06-04 00:17:20 +02:00
Juergen Hoeller
f657952cee
EventListenerMethodProcessor defensively handles unresolvable method signatures
...
Issue: SPR-14330
2016-06-04 00:15:52 +02:00
Rossen Stoyanchev
a163938758
Message converters are configurable
2016-06-03 17:56:08 -04:00
Rossen Stoyanchev
b20ea75766
Update to latest Reactor snapshot
2016-06-03 17:56:08 -04:00
Juergen Hoeller
9394616f8f
Support for Hibernate ORM 5.2
...
Issue: SPR-14327
2016-06-02 23:35:31 +02:00
Juergen Hoeller
521c41d75e
Polishing
2016-06-02 17:02:44 +02:00
Juergen Hoeller
ae11387b4a
Removal of @Ignore'd tests
...
Issue: SPR-6310
Issue: SPR-6327
2016-06-02 11:47:22 +02:00
Juergen Hoeller
7de61f80a7
AbstractRequestLoggingFilter supports logging of request headers
...
Issue: SPR-14245
2016-06-02 11:41:24 +02:00
Rossen Stoyanchev
03a997c9d4
Remove outdated DataBufferFactory properties
...
Removed in favor of accessing the factory from the response.
2016-06-01 18:07:54 -04:00
Rossen Stoyanchev
431fedccc7
Upgrade to RxJava 1.1.5
...
After the fix for ReactiveX/RxNetty#509 we can remove the workaround
to concatenate with an empty Observable for the request body and
upgrade to the latest RxJava 1.1.5.
Issues: #103
2016-06-01 17:32:05 -04:00
Juergen Hoeller
ca9ffa2012
Convenience constructors for CompositeDatabasePopulator
...
Issue: SPR-14313
2016-06-01 22:02:31 +02:00
Juergen Hoeller
ea728b15c8
Polishing
2016-06-01 22:01:32 +02:00
Rossen Stoyanchev
c74d979735
Rename contextPath method in ForwardedHeaderFilter
2016-06-01 15:45:44 -04:00
Rossen Stoyanchev
b7f589547d
Merge pull request #1071 from eddumelendez/SPR-14270
2016-06-01 15:34:25 -04:00
Rossen Stoyanchev
1f3ac340fa
Polish X-Forwarded-Prefix handling
...
Issue: SPR-14270
2016-06-01 15:33:19 -04:00
Eddú Meléndez
7ee687c798
Support X-Forwarded-Prefix in ForwardedHeaderFilter
...
See SPR-14270
2016-06-01 14:28:19 -04:00
Sebastien Deleuze
8cf5ea91f8
Sync with TestSubscriber changes in reactor-core
2016-06-01 17:55:53 +02:00
youmoo
9975f02e4d
Method comment is wrong
2016-06-01 17:00:42 +02:00
Kamil Szymanski
5a81727180
MVC docs polishing
2016-06-01 16:58:20 +02:00
Rossen Stoyanchev
65246f8cfd
Remove FIXME on retain in ReactorServerHttpRequest
...
The converters release so this is the right thing to do, not a
temporary fix.
2016-06-01 10:17:12 -04:00
Juergen Hoeller
39f143563d
Latest dependency updates (Commons FileUpload 1.3.2, OkHttp 3.3.1, HSQLDB 2.3.4, H2 1.4.192)
2016-06-01 15:10:57 +02:00
Juergen Hoeller
37de0e45f6
Polishing
2016-06-01 11:39:08 +02:00
Juergen Hoeller
e4976a2c6d
ExecutorSubscribableChannel consistently rethrows Error as MessageDeliveryException
...
Issue: SPR-14323
2016-06-01 11:38:56 +02:00
Rossen Stoyanchev
a40a8b06bf
Polish view resolution
2016-05-31 22:14:17 -04:00
Rossen Stoyanchev
8cc72b320b
View resolution with content negotiation
...
ViewResolutionResultHandler and ResponseBodyResultHandler now share
a common base class ContentNegotiatingResultHandlerSupport that
supports content negotiation.
For view resolution we compare against the supported media types of
resolved View instances, which may include default View's delegating
to an HttpMessageConverter (e.g. JSON, XML, rendering).
2016-05-31 21:51:24 -04:00
Rossen Stoyanchev
5db1a54ff0
Add HttpMessageConverterView
2016-05-31 17:49:21 -04:00
Rossen Stoyanchev
a37b2e3a84
Refactor View contract
...
View now returns Mono<Void> rather than Flux<DataBuffer> which aligns
more closely with the reactive HttpMessageConverter vs the Encoder.
The change was prompted by the upcoming implementation of a View that
delegates to an existing HttpMessageConverter e.g. for JSON, XML.
The resulting change also brings the reactive View closer in spirit to
the View from spring-webmvc which returns void.
2016-05-31 16:50:38 -04:00
Rossen Stoyanchev
f8a7024b73
Polish SimpleResultHandler
2016-05-31 16:50:32 -04:00
Rossen Stoyanchev
1b308cffbf
Introduce base class for ResponseBodyResultHandler
...
The ContentNegotiatingResultHandlerSupport base class encapsulates the
logic for content negotiation needed for both @ResponseBody and view
resolution result handling.
2016-05-31 16:33:01 -04:00
Rossen Stoyanchev
fc40643033
Optimize Consumes/ProducesRequestCondition
...
Before this change Consumes/ProducesRequestCondition shared a common
match method in the package private AbstractMediaTypeExpression. The
benefit, two lines of code, was negligible but was forcing each
condition into parsing the content type of the request body or
evaluating the content type for the response respectively.
This change removes the shared match method and brings it down into
each sub-class resulting in a performance improvement as well as in
simpler code including exception handling.
Issue: SPR-14299
2016-05-31 14:55:50 -04:00
Rossen Stoyanchev
27215b5061
Negated produces works with no Accept header present
...
Issue: SPR-14299
2016-05-31 14:44:27 -04:00
Rossen Stoyanchev
8343ce9e44
Add defaultLocale to AcceptHeaderLocaleResolver
...
Issue: SPR-14312
2016-05-31 13:55:11 -04:00