Stephane Maldini
fc1b2e96f7
Introduce Mono#justOrEmpty(T)
2016-02-28 00:56:10 +00:00
Stephane Maldini
999dfe3925
Sync BaseSubscriber
2016-02-27 23:18:22 +00:00
Sam Brannen
31e0386bcb
Stop referencing deprecated @TransactionConfiguration in Javadoc
2016-02-27 23:50:00 +01:00
Sam Brannen
9d3dd1bc13
Introduce SpringRunner 'alias' for SpringJUnit4ClassRunner
...
This commit introduces a SpringRunner extension of
SpringJUnit4ClassRunner that is intended to be used as an 'alias' for
SpringJUnit4ClassRunner, primarily in order to simplify configuration
of JUnit 4 based integration tests.
Developers can use this alias as follows:
@RunWith(SpringRunner.class)
public class MySpringIntegrationTests { ... }
Issue: SPR-13954
2016-02-27 23:02:55 +01:00
Stephane Maldini
24d9e99de1
Sync toCompletableFuture
2016-02-27 21:36:31 +00:00
Stephane Maldini
cc77a338b1
Sync reactor-core jdk8 bump
2016-02-27 13:34:15 +00:00
Stephane Maldini
4c477189a6
revert module Reactor Fluxion to Reactor Stream
2016-02-27 11:06:07 +00:00
Stephane Maldini
9f94f8c88e
Sync to Fluxion to remove Stream confusion
2016-02-26 21:42:52 +00:00
Sam Brannen
0c66838268
Polish Javadoc for @RequestMapping
2016-02-26 22:35:51 +01:00
Sam Brannen
6fcb6630d7
Clean up warnings in SampleAsyncTests
2016-02-26 22:35:51 +01:00
Juergen Hoeller
ab16053ed4
Redistribute AOP Alliance interfaces in spring-aop again (as in Spring 2.x)
...
Issue: SPR-13984
2016-02-26 12:40:00 +01:00
Juergen Hoeller
8a83af55b8
Consistent resolution of factory method exceptions
...
Issue: SPR-13985
2016-02-26 12:31:03 +01:00
Juergen Hoeller
7a32ce317c
LinkedCaseInsensitiveMap provides reliable getOrDefault implementation
...
Issue: SPR-13981
2016-02-25 21:42:11 +01:00
Juergen Hoeller
b6dd8a9233
Consistent UnsatisfiedDependencyException exposure with injection point metadata
...
Issue: SPR-13968
2016-02-25 21:36:49 +01:00
Juergen Hoeller
4c964473b1
Defensively close jar files from non-cached JarURLConnections
...
Issue: SPR-6295
2016-02-25 10:25:13 +01:00
Rossen Stoyanchev
1bc1df2d0f
Polish client-side REST updates
...
Issue: SPR-11365
2016-02-24 15:24:13 -05:00
Juergen Hoeller
ca19920d74
Refined ApplicationContextInitializer assignability exception
2016-02-24 17:50:14 +01:00
Juergen Hoeller
a68b910b7c
TimerScheduledFuture correctly calculates getDelay result
...
Issue: SPR-13977
2016-02-24 17:11:36 +01:00
Rossen Stoyanchev
46189b48fc
Merge client REST test support updates
...
Includes support to declare expecations should occur multiple
times as well as in any order.
Issue: SPR-11365
2016-02-23 23:33:59 -05:00
Rossen Stoyanchev
91872b0d74
Add ExpectedCount
...
MockRestServicesServer now supports an expect variant that accepts
a range of expected count of executions.
Issue: SPR-11365
2016-02-23 23:31:34 -05:00
Rossen Stoyanchev
08a08725be
Allow plugging in custom RequestExpectationManager
...
The MockRestServiceServer builder now has an option to plug in a
custom RequestExpectationManager.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
a56c69c9ca
Introduce MockRestServiceServer builder
...
MockRestServiceServer now provides static methods for builder-style
creation of MockRestServiceServer. This includes an option ignore
the order of declaration expected requests.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
f58ef24efd
Introduce RequestExpectationManager
...
This commit factors out the logic to declare and manage expectations
including matching them to requests and verifying at the end behind
a commong abstraction.
MockRestServiceServer delegates to the new abstraction and is no longer
aware of how that's done. There are two implementations, one for
ordered and another for unordered expectation.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
37a3fa96d1
Separate ResponseActions from ClientHttpRequest
...
Before this commit RequestMatcherClientHttpRequest served both as
API to define request expectations, i.e. ResponseActions, as well as
the implementation of ClientHttpRequest representing actual requests.
DefaultResponseActions replaces this class as a simple holder of
expected requests and mock responses. MockRestServiceServer is then
responsible to match request expectations and create a mock response.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Sebastien Deleuze
3329abffc8
Allow to specify request body type in RestTemplate
...
This commit allows to specify the request body type in order to
serialize generic types with a GenericHttpMessageConverter if
needed.
Issue: SPR-13154
2016-02-23 16:15:38 +01:00
Juergen Hoeller
7b1fcfc7c3
Consistently strict parsing of date overflows (using java.time's strict resolution style)
...
Issue: SPR-13567
2016-02-23 16:12:26 +01:00
Arjen Poutsma
361707c448
Servlet 3.1 support cleanup
...
Claneup of the Servlet 3.1 support:
- moved RequestBodyPublisher to ServletServerHttpRequest
- moved ResponseBodySubscribera to ServletServerHttpResponse
- response body is now copied to ServletOutputStream in chunks, rather
than one big byte[]
2016-02-23 14:35:49 +01:00
Juergen Hoeller
028a690100
Polishing
2016-02-23 14:31:09 +01:00
Juergen Hoeller
ed98393fb2
SmartObjectFactory renamed to ObjectProvider (extends ObjectFactory)
...
Issue: SPR-13943
Issue: SPR-13956
2016-02-23 14:30:30 +01:00
Arjen Poutsma
2fcbeb6595
Fixed issue with DefaultDataBuffer.asInputStream()
2016-02-23 14:14:34 +01:00
Stephane Maldini
f920d2ce1e
sync with reactor-stream update
2016-02-23 09:39:49 +00:00
Arjen Poutsma
51a90465d4
Polishing
2016-02-23 10:24:18 +01:00
Juergen Hoeller
1899fb37c1
Polishing
2016-02-22 23:26:41 +01:00
Juergen Hoeller
a3789120c9
Support for @PropertySource annotations with custom implementation types
...
Issue: SPR-8963
2016-02-22 23:25:50 +01:00
Juergen Hoeller
8ff9e818a5
Allow for a single element overriding an array attribute in a meta-annotation
...
Includes refinements for consistent quoting of names in exception messages.
Issue: SPR-13972
2016-02-22 23:24:30 +01:00
Juergen Hoeller
b9fe6d89da
Avoid NPE in case of @Lazy @Autowired(required=false)
...
Issue: SPR-13967
2016-02-22 23:21:59 +01:00
Phillip Webb
d8a05592e2
Allow package private classes in spring.factories
...
Update SpringFactoriesLoader so that package private classes can be
used.
Issue: SPR-13969
2016-02-22 10:01:35 -08:00
Juergen Hoeller
2ca11029f2
Latest dependency updates (Caffeine 2.2, EhCache 3.0 M5, Groovy 2.4.6, Gson 2.6.1, Hibernate Validator 5.2.4, SLF4J 1.7.16, SnakeYAML 1.17)
2016-02-22 17:42:50 +01:00
Stephane Nicoll
f4cbd98459
Upgrade to Undertow 1.3.18.Final
2016-02-22 16:48:29 +01:00
Rossen Stoyanchev
b3d67b928b
Check supported locales in AcceptHeaderLocaleResolver
...
Issue: SPR-13330
2016-02-22 09:44:06 -05:00
Stephane Nicoll
a94ffbb17a
Fix typo
2016-02-22 10:03:27 +01:00
Stephane Nicoll
963fea0e3f
Merge pull request #934 from mnhock/Remove-unused-third-argument
...
* pr/934:
Fix Format-string method arguments
2016-02-20 09:04:21 +01:00
mnhock
e98977cbc8
Fix Format-string method arguments
...
Closes gh-934
2016-02-20 09:01:54 +01:00
Rossen Stoyanchev
f32aded27a
Consolidate CORS/OPTIONS request mapping
...
The CORS pre-flight request matching logic for all request conditions
was added (in 4.2) to RequestMappingInfo. However the logic for
default handling of all HTTP OPTIONS requests for 4.3 unintentionally
overrode some of the pre-flight request handling thus causing issues.
This commit moves CORS pre-flight matching logic into each respective
RequestMethodCondition implementations so each has to consider in one
place what happens for pre-flight and for all other requests.
Issue: SPR-13130
2016-02-19 13:56:52 -05:00
Rossen Stoyanchev
26575148a5
Polish test class
2016-02-19 13:56:52 -05:00
Juergen Hoeller
700ab2fc98
DataBinder test for java.util.Optional property
...
Issue: SPR-13933
2016-02-19 19:21:09 +01:00
Juergen Hoeller
a7ad49adcf
Placeholder configurers allow for trimming of property values
...
Issue: SPR-5839
2016-02-19 19:19:39 +01:00
Juergen Hoeller
890819f886
SmartObjectFactory provides getObject(args) variant as well
...
Issue: SPR-13956
2016-02-19 14:39:55 +01:00
Juergen Hoeller
5ed9046886
BeanMethodInterceptor does not pass on null arguments for singleton beans
...
Issue: SPR-13887
2016-02-19 14:00:52 +01:00
Stephane Nicoll
d6700b7a10
Merge pull request #970 from wilkinsona/consistent-descriptions
...
* pr/970:
Consistent descriptions for ConfigurationClass
2016-02-19 09:09:10 +01:00