Juergen Hoeller
71463fb399
AbstractBeanFactory consistently guards add/remove operations against alreadyCreated Set
...
Issue: SPR-14269
2016-05-31 14:12:06 +02:00
Stephane Maldini
3f7178ba9f
Sync Reactor
2016-05-31 13:00:51 +01:00
Stephane Maldini
7fc3031c7a
update after Schedulers change
2016-05-31 11:11:38 +01:00
Juergen Hoeller
9064d38e4c
AbstractBeanFactory.markBeanAsCreated() reliably clears merged bean definition only once
...
Issue: SPR-14269
2016-05-31 11:05:29 +02:00
Juergen Hoeller
bff8259fb0
Upgrade to Objenesis 2.4 (and EhCache 3.0.1)
...
Issue: SPR-14292
2016-05-31 10:11:46 +02:00
Juergen Hoeller
3576ff051c
ScheduledAnnotationBeanPostProcessor properly registers multiple tasks per bean
...
Issue: SPR-14286
2016-05-30 22:47:31 +02:00
Juergen Hoeller
24f5f368b0
Consistent meta-annotation attributes lookup through ASM
...
Issue: SPR-14257
2016-05-30 22:39:27 +02:00
Juergen Hoeller
822e40e24f
AssertionErrors.assertEquals exposes readable array representation
...
Issue: SPR-14281
2016-05-30 17:16:03 +02:00
Juergen Hoeller
86557f25af
ConcurrentMapCacheManager recreates caches when initializing ClassLoader
...
Issue: SPR-14314
2016-05-30 17:13:45 +02:00
Sebastien Deleuze
3f80b4ab2e
Polish
2016-05-30 15:26:55 +02:00
Juergen Hoeller
cf0a0cd5d8
BeanWrapper avoids StringIndexOutOfBoundsException for incompletely quoted keys
...
Issue: SPR-14293
2016-05-30 15:15:27 +02:00
Sebastien Deleuze
97155f1a30
Rename ReactiveHttpOutputMessage.setBody() to writeWith()
2016-05-30 15:09:37 +02:00
Juergen Hoeller
a1e9459a43
@SafeVarargs for header(String, Matcher...) method
...
Issue: SPR-14278
2016-05-30 15:06:55 +02:00
Juergen Hoeller
d6284202f1
Reference documentation updates
...
Issue: SPR-14087
Issue: SPR-14272
Issue: SPR-13535
Issue: SPR-13843
Issue: SPR-14164
Issue: SPR-14167
2016-05-30 15:04:57 +02:00
Brian Clozel
250d82768f
Merge pull request #1050 from fj/patch-1
...
Remove potential XSS vulnerability in Freemarker documentation
2016-05-30 09:44:18 +02:00
Juergen Hoeller
6efa058917
AbstractBeanFactory.markBeanAsCreated() reliably clears merged bean definition first
...
Issue: SPR-14269
2016-05-29 13:25:16 +02:00
Juergen Hoeller
f7f2327f60
ServletServerHttpRequest.getHeaders() ignores invalid content type
...
Issue: SPR-14309
2016-05-29 13:22:00 +02:00
Juergen Hoeller
98eaf05c8f
@Bean's "autowire" attribute does not affect annotation-driven autowiring
...
Issue: SPR-14282
2016-05-29 13:19:09 +02:00
Rossen Stoyanchev
58307ebac4
Support Model-related return values
...
This commit adds support for Model-related return values types such as
Map, Model, @ModelAttribute annotated, and non-simple types, which
helps to clarify the logic in ViewResolutionResultHandler.
2016-05-27 20:22:58 -04:00
Juergen Hoeller
42bf007604
Latest dependency updates (Joda-Time 2.9.4, Jetty 9.3.9, Netty 4.1 GA, Tomcat 8.5.2)
2016-05-27 23:46:15 +02:00
Juergen Hoeller
03affa02db
ConfigurationClassParser detects @Bean methods in interface hierarchies as well
...
Issue: SPR-14288
2016-05-27 22:34:09 +02:00
Rossen Stoyanchev
33c5a19769
Handle unresolved view name
2016-05-27 15:22:22 -04:00
Rossen Stoyanchev
a72462cd8c
Polish view resolution tests
2016-05-27 15:22:22 -04:00
Rossen Stoyanchev
f7d4688b84
Improve 404 "handler not found" handling
...
Remove handler inserted at the end to generate error in favor of doing
the same using the otherwiseIfEmpty operator.
2016-05-27 15:21:28 -04:00
Juergen Hoeller
2d85accb83
SpringTilesContainerFactory uses Tiles 3's createDecoratedContainer
...
Issue: SPR-14311
2016-05-27 18:24:49 +02:00
Sam Brannen
31a93792b2
Delete unused imports
2016-05-27 16:33:43 +02:00
Sam Brannen
49bc2a9a02
Clean up warnings in PersistenceXmlParsingTests
2016-05-27 16:30:50 +02:00
Brian Clozel
c6ed12297f
Add Host property in HttpServerSupport
...
And change the defaults to:
* "0.0.0.0" for the host
* any available port, starting at 8080
2016-05-27 15:50:41 +02:00
Arjen Poutsma
03fe209862
Renamed ReactiveHttpOutputMessage dataBufferFactory() method to bufferFactory()
2016-05-27 10:37:04 +02:00
Stephane Nicoll
917948deac
Polish SpEL documentation
...
Issue: SPR-14243
2016-05-27 10:30:38 +02:00
Arjen Poutsma
d36286c7d1
Renamed DataBufferAllocator to DataBufferFactory
2016-05-27 09:51:42 +02:00
Arjen Poutsma
6f46164727
Changed reduceToSingleBuffer to splitOnNewline
...
In order to be more "reactive", changed StringDecoder's default from
merging all buffers in the stream to a single buffer into splitting the
buffers along newline (\r, \n) characters.
2016-05-27 09:22:57 +02:00
Arjen Poutsma
74abe92804
Added DataBuffer indexOf and lastIndexOf
...
This commit introduces DataBuffer.indexOf(IntPredicate) and
lastIndexOf(IntPredicate), for finding the index of a byte in a
DataBuffer.
It also introduces DataBufferUtils.tokenize, which tokenizes a
DataBuffer into separate tokens, given a delimiter function.
2016-05-27 09:22:57 +02:00
Rossen Stoyanchev
f0c8c4e7a4
Add request path based default view name support
2016-05-26 18:08:18 -04:00
Juergen Hoeller
abfe3f209d
DefaultPersistenceUnitManager can determine persistence unit root from orm.xml location
...
Issue: SPR-14246
2016-05-26 23:57:49 +02:00
Rossen Stoyanchev
793638e610
Rename ViewResolverResultHandler to ViewResolution~
2016-05-26 17:48:35 -04:00
Rossen Stoyanchev
8b99c51969
Fix compiler warnings
2016-05-26 17:37:39 -04:00
Rossen Stoyanchev
eb9fe235fe
Properly handle Mono.empty() for view resolution
...
This commit ensures correct handling for Mono.empty() return value
where the declared return type is Mono<String> or Mono<View>.
2016-05-26 17:34:52 -04:00
Rossen Stoyanchev
91a5759cf5
Polish result handlers default order
2016-05-26 16:17:56 -04:00
Rossen Stoyanchev
bc782902d7
Remove java.util.Optional from View contract
2016-05-26 16:00:08 -04:00
Rossen Stoyanchev
4d04bd5690
Consolidate view resolution under result.view
...
While View and ViewResolver play the same role as in spring-webmvc they
are now abstracted behind the HandlerResultHandler abstraction so that
top-level contracts don't reference them and the DispatcherHandler is
also unaware of their existence.
Furthermore view resolution and response body handling which are now at
the same level of abstraction (each is a HandlerResultHandler) will
also share code for content negotiation, so it makes sense for them to
be side by side.
This commit moves the reactive.view package to reactive.result.view
with the View and ViewResolver contracts (previously in the top-level
reactive package) also moving there.
2016-05-26 15:55:22 -04:00
Juergen Hoeller
a979885d17
SettableListenableFuture properly rethrows Error
...
Issue: SPR-14298
2016-05-26 19:39:22 +02:00
Rossen Stoyanchev
318b15c321
Polish
2016-05-26 13:39:16 -04:00
Rossen Stoyanchev
2263954ad7
Respect produces condition in @ResponseBody algorithm
2016-05-26 13:34:08 -04:00
Juergen Hoeller
dacc31e3d3
For attribute is not actually required
...
Issue: SPR-14287
2016-05-26 19:18:30 +02:00
Juergen Hoeller
65f6ea320a
Upgrade to Objenesis 2.3 and Moneta 1.1
...
Issue: SPR-14292
Issue: SPR-14296
2016-05-26 19:17:40 +02:00
Rossen Stoyanchev
4e8754ea87
Add reset() to MockRestServiceServer
...
Issue: SPR-14306
2016-05-26 11:44:40 -04:00
Rossen Stoyanchev
a017e2848a
Rename ContentTypeResolver to RequestedContentTypeResolver
2016-05-26 11:05:48 -04:00
Rossen Stoyanchev
37404d081e
Use ContentTypeResolver for content negotiation
2016-05-26 10:52:19 -04:00
Rossen Stoyanchev
f4ab6d8d52
MockRestServiceServerBuilder can be re-used
...
Issue: SPR-14306
2016-05-26 09:48:16 -04:00