Juergen Hoeller
fd4b5ac892
Ignore JRuby template tests (not compatible with JDK 9 yet)
...
Issue: SPR-13344
2016-07-19 19:42:31 +02:00
Juergen Hoeller
88fcd0a2ed
Framework build compatible with JDK 9 (tests running against java.base module)
...
Issue: SPR-13344
2016-07-19 19:37:34 +02:00
Juergen Hoeller
d07381e862
Avoid deprecated number constructors on JDK 9
...
Issue: SPR-13344
2016-07-19 19:25:55 +02:00
Juergen Hoeller
8580483d72
SerializableTypeWrapper reobtains type accessors from declaring interface
...
Issue: SPR-14487
2016-07-19 19:22:32 +02:00
Juergen Hoeller
aaac199e8b
Consistently use constructor-based instantiation instead of Class.newInstance / BeanUtils.instantiate
...
Issue: SPR-14486
2016-07-19 19:21:06 +02:00
Juergen Hoeller
b3253ca5e2
Drop mock.staticmock package from spring-aspects
...
Issue: SPR-14485
2016-07-19 18:56:06 +02:00
Juergen Hoeller
8bb34bc962
Resource.isFile() and JAF MediaTypeFactory
...
Issue: SPR-14484
2016-07-19 18:53:31 +02:00
Juergen Hoeller
7287baefeb
GenericSqlQuery configured with RowMapper instance
...
Issue: SPR-14489
2016-07-19 18:44:06 +02:00
Juergen Hoeller
aae4874b85
Revised spring-orm test suite (no AbstractJpaTests anymore)
...
Issue: SPR-13515
2016-07-19 17:50:57 +02:00
Juergen Hoeller
91ac0bfefa
Reinstated support for spring-beans.dtd (streamlined like xsd)
...
Issue: SPR-13499
2016-07-19 17:46:17 +02:00
Juergen Hoeller
5ea8c2670e
Reinstated tests for implicit aliases
...
Issue: SPR-14437
2016-07-19 17:26:47 +02:00
Juergen Hoeller
1670b4e154
Reliably pass CurrentTenantIdentifierResolver to SessionFactory
...
Issue: SPR-14476
2016-07-19 17:25:07 +02:00
Arjen Poutsma
35ce1945e0
Improved DataBufferUtilsTest
2016-07-19 11:11:11 +02:00
Rossen Stoyanchev
4b92bf2af1
Split HttpMessageConverter into ~Reader and ~Writer
2016-07-18 22:16:35 -04:00
Brian Clozel
dca80788d4
Fix default origin port in ReactorClientHttpConnector
...
This commit ensures that a valid port is given to the underlying Netty
client when no port is defined in the URL itself.
By default, port 80 is used by the Reactor Netty client.
Issue: SPR-14477
2016-07-18 21:53:15 +02:00
Rossen Stoyanchev
3e096ce810
Improve javadoc on reactive classes
...
Ensure type-level Javadoc in every class, comply with guidelines for
80 char on Javadoc, and minor polish.
2016-07-18 14:59:15 -04:00
Brian Clozel
7a0c2422c6
Add client-side exception hierarchy
...
The `WebClient` has a new exception hierarchy:
* `WebClientException` is the root of all exceptions thrown by the
`WebClient`
* `WebClientResponseException` are all exceptions associated with
specific HTTP response status codes
* `WebClientErrorException` and `WebServerErrorException` are
respectively for 4xx and 5xx HTTP status codes
`ResponseExtractor` implementations are adapted to optionally throw
exceptions if it's impossible to extract the relevant parts of the
response (e.g. extracting the response body if the response is a 404).
This commit also introduces `ResponseErrorHandler`s that take care of
the whole exception mapping infrastructure. Since
`WebClientResponseException`s provide the status, headers and response
body, we also need a dedicated mechanism to extract information from the
response body at that level.
The `BodyExtractors` are responsible for extracting that information
from the exception, given they are provided with all the information
they need; in that case, message decoders are required.
To convey all this new information downstream, the `WebClient` now wraps
the message converters and response error handler instances into a
dedicated `WebClientConfig` object.
2016-07-18 17:33:15 +02:00
Brian Clozel
fe79219607
Reorganize spring-web-reactive .gitignore
2016-07-18 17:31:18 +02:00
Arjen Poutsma
041437f3ee
Fixed DataBufferUtilsTest on Windows
...
DataBufferUtilsTests checked for newline characters before, resulting in
failures on Windows.
2016-07-18 17:08:46 +02:00
Stephane Nicoll
03e6eeeadc
Fix EJB dependency upgrade
2016-07-18 14:51:03 +02:00
Stephane Nicoll
cd6b5f9be0
Fix EJB API coordinates
2016-07-18 13:35:08 +02:00
Stephane Nicoll
53a7027d8b
Upgrade to EJB 3.2
2016-07-18 13:21:22 +02:00
Sam Brannen
afbd57c8af
Upgrade to Gradle 2.14.1
...
Issue: SPR-14362
2016-07-18 11:35:37 +02:00
Sebastien Deleuze
7ad02490d9
Upgrade build to Gradle 2.14.1
2016-07-18 11:10:55 +02:00
Sebastien Deleuze
ceb4c8d8e0
Add netty-buffer temp dependency to spring-web-reactive
2016-07-18 10:20:40 +02:00
Stephane Nicoll
c86d49f329
Fix CLA section
2016-07-18 08:28:40 +02:00
Do Nhu Vy
a76a6b5c29
Fix broken hyperlink
...
Closes gh-1114
2016-07-18 08:16:58 +02:00
Fredrik Sundberg
d3b051a933
Fix javadoc reference
...
Method is called nextBackOff() and not nextBackOffMillis().
Closes gh-1115
2016-07-18 08:14:12 +02:00
Rossen Stoyanchev
2029b6e0b7
Disable failing Jetty SSE tests for now
...
https://github.com/eclipse/jetty.project/issues/730
2016-07-15 17:27:51 -04:00
Juergen Hoeller
111b4ae74e
Upgrade to Tomcat 8.5.4
2016-07-15 23:22:17 +02:00
Rossen Stoyanchev
028be2a298
Switch to Reactor 3 snapshots and Netty 4.1.3
2016-07-15 17:16:26 -04:00
Juergen Hoeller
dc1664939c
Javadoc fixes and pruning of outdated references
2016-07-15 22:12:11 +02:00
Juergen Hoeller
f0c397e4e2
Comprehensive Servlet 3.1 support in spring-web and spring-test
...
Issue: SPR-14467
2016-07-15 22:11:14 +02:00
Sam Brannen
177f4ec3a7
Polish annotation utils
2016-07-15 19:54:53 +02:00
Sam Brannen
53c9584025
Remove obsolete references to @AliasFor in Javadoc for AnnotationAttributes
2016-07-15 19:53:54 +02:00
Sam Brannen
53dd88437e
Delete dead code in AnnotationAttributes
2016-07-15 19:51:33 +02:00
Sam Brannen
3f317b7d3f
Clean up warnings in spring-web
2016-07-15 18:38:27 +02:00
Sam Brannen
58804da369
Polish Reactor & RxJava response extractors
2016-07-15 17:54:24 +02:00
Sam Brannen
1731460eac
Ensure Reactor & RxJava response extractors compile with Eclipse JDT
2016-07-15 17:53:15 +02:00
Sam Brannen
841480596e
Clean up warnings in Gradle build
2016-07-15 17:38:35 +02:00
Juergen Hoeller
503f0e3397
Polishing
2016-07-15 17:27:59 +02:00
Juergen Hoeller
a0df71e76a
ConfigurationClassParser load annotations through source class loader
...
Issue: SPR-10343
(cherry picked from commit 9e93403 )
2016-07-15 17:17:25 +02:00
Juergen Hoeller
3d3407c789
Consistent alias processing behind AnnotatedTypeMetadata abstraction (also for ASM)
...
Issue: SPR-14427
2016-07-15 13:59:25 +02:00
Juergen Hoeller
b1663585dc
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
2016-07-15 00:15:46 +02:00
Rossen Stoyanchev
d2e105f28d
Add @Since 5.0 and package-info for reactive classes
2016-07-14 17:40:17 -04:00
Juergen Hoeller
e2c7653da4
Correct parameter index boundary in exception message
...
Issue: SPR-14466
2016-07-14 22:29:14 +02:00
Juergen Hoeller
e431624e84
CronSequenceGenerator prevents stack overflow in case of inverted range
...
Issue: SPR-14462
2016-07-14 21:11:28 +02:00
Juergen Hoeller
6d91d54fc9
StandardTypeConverter initializes default ConversionService against volatile field
...
Issue: SPR-14465
2016-07-14 21:10:24 +02:00
fisache
9aa35a8b5f
Polish doc
...
Closes gh-1108
2016-07-14 19:15:38 +02:00
Arjen Poutsma
3e47fccf2b
Propagate IOExceptions in Servlet bridge
2016-07-14 12:30:35 -04:00