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
Stephane Nicoll
a1851845ad
Merge pull request #1065 from benelog:fix-comment
...
* pr/1065:
Polish javadoc in TableMetaDataContext
2016-05-26 07:51:01 +02:00
Sanghyuk Jung
06e3ee6820
Polish javadoc in TableMetaDataContext
...
Closes gh-1065
2016-05-26 07:50:17 +02:00
Rossen Stoyanchev
2292e46b04
Update empty return value ResponseBody handling
...
When a null is returned from an @ResponseBody method, rather than
returning Mono.empty() immediately, convert it to Mono.empty() and
apply the same processing.
Currently that doesn't make a practical difference but it's more
accurate to do it this way. Eventually it may mean the possibility
to turn empty values into something through an extension point
as we do with ResponseBodyAdvice in Spring MVC today.
2016-05-25 17:35:58 -04:00
Rossen Stoyanchev
91d063899b
Polish ResponseBody result handling
2016-05-25 17:34:15 -04:00
Stephane Nicoll
aa3b04c937
Merge pull request #1064 from izeye:patch-6
...
* pr/1064:
Polish Javadoc in MediaType
2016-05-25 09:23:52 +02:00
Johnny Lim
ace624a01a
Polish Javadoc in MediaType
...
Closes gh-1064
2016-05-25 09:23:27 +02:00
Rossen Stoyanchev
da3b21b020
Fix typo in build script
2016-05-24 15:41:51 -04:00
Rossen Stoyanchev
662e093fbb
Temporarily fix RxJava at 1.1.1 to avoid hanging tests
...
Issue #103
2016-05-24 15:32:18 -04:00
Stephane Nicoll
7d4d3db0dd
Add alternative database name for HANA
...
Issue: SPR-14261
2016-05-23 07:43:49 +02:00
Rossen Stoyanchev
c2625f968c
Properly handle single-value map with @MatrixVariable
...
Issue: SPR-14294
2016-05-22 09:53:42 -04:00
Rossen Stoyanchev
400206a2fe
Update @RestController javadoc
...
Issue: SPR-13945
2016-05-22 09:06:23 -04:00
Rossen Stoyanchev
a9217d51c2
Safe InetSocketAddress init for WebSocket and SockJS
...
Issue: SPR-14295
2016-05-22 06:36:42 -04:00
Stephane Nicoll
9c02a99d38
Polish doc
...
SPR-14290
2016-05-20 09:57:41 +02:00
Rossen Stoyanchev
3fb58cda8e
Wrap Jetty WebSocketException
...
Issue: SPR-14267
2016-05-18 11:05:09 -04:00
Rossen Stoyanchev
1e003a1c90
Remove unnecessary assertion
...
Issue: SPR-14279
2016-05-18 10:57:54 -04:00