Rossen Stoyanchev
aaa1281809
Remove Exception declaration in abstract Encoder
2016-09-16 12:20:15 -04:00
Sebastien Deleuze
9d8c089a21
Polish
2016-09-16 16:17:37 +02:00
Sebastien Deleuze
6cda08e94b
Add Jackson @JsonView support
...
Issue: SPR-14693
2016-09-16 12:51:27 +02:00
Sebastien Deleuze
e74c59bf30
Introduce ServerHttpMessageWriter/Reader to resolve hints
...
Issue: SPR-14693
2016-09-16 12:51:27 +02:00
Brian Clozel
084daa7fb5
Document media type registration for appcache files
...
Since appcache manifests can have various file extensions, developers
should register the (file extension, media type) mapping in their Spring
MVC / Reactive Web configuration.
This commit adds javadoc on both `AppCacheManifestTransformer` variants
to explain how to do that.
Issue: SPR-14510
2016-09-16 12:04:56 +02:00
Juergen Hoeller
3fdc11e739
Latest dependency updates (Undertow 1.4.3, EhCache 3.1.2, Caffeine 2.3.3, Rome 1.7, Woodstox 5.0.3, Jettison 1.3.8, JRuby 9.1.5.0, RxJava 2.0 RC2, RxNetty 0.5.2 RC4)
2016-09-16 10:39:26 +02:00
Juergen Hoeller
2b2cc2d1ca
Rearranged field order in RootBeanDefinition
...
Issue: SPR-14725
2016-09-16 10:34:05 +02:00
Stephane Nicoll
2b0bf9f04a
Add Qualified element on RootBeanDefinition
...
Improve RootBeanDefinition to specify an AnnotatedElement that holds
qualifier information. When such element is present, any qualifier that
it defines will be used to find a matching candidate.
Issue: SPR-14725
2016-09-16 09:20:31 +02:00
Juergen Hoeller
f24ce76edb
StringUtils.parseLocaleString accepts Java 7 variants
...
Issue: SPR-14718
2016-09-15 14:31:05 +02:00
Juergen Hoeller
6de4b12992
Adapted recent tests to pass on Windows
2016-09-15 14:12:49 +02:00
Juergen Hoeller
6dc1898dbb
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
2016-09-15 08:54:17 +02:00
Rossen Stoyanchev
765b47246a
Improve async request timeout handling
...
Rather than setting the status to 503 directly from the timeout
interceptor which no longer seems to work reliably with Servlet
containers like Jetty even performing an additional ERROR dispatch back
to the original URL, we know rather set the DeferredResult to an
AsyncTimeoutException, which results in a dispatch and standard
handling within Spring MVC. This should be a more reliable way of
dealing with timeouts.
Issue: SPR-14669
2016-09-14 21:34:30 -04:00
Rossen Stoyanchev
8ccfecc406
Workaround for Content-Length issue in Reactor Netty
...
Issue: SPR-14643
2016-09-14 17:45:27 -04:00
Rossen Stoyanchev
e024aa0049
Follow up fix for PR #1168
2016-09-14 17:35:14 -04:00
Rossen Stoyanchev
3bc1121b9d
Check both connection and connected flag
...
Issue: SPR-14703
2016-09-14 17:19:49 -04:00
Arjen Poutsma
c6a61e0d85
Add Resource.readableChannel()
...
Added readableChannel() to Resource, which returns a
java.nio.ReadableByteChannel. The default implementation uses
Channels.newChannel() to create a channel based on what is returned from
getInputStream(). Subclasses have more effecient, file-based
implementations.
Issue: SPR-14698
2016-09-14 15:46:15 -04:00
Stephane Nicoll
06395f41cb
Merge pull request #1172 from kosmaty:punctuation-formatting-fix
...
* pr/1172:
Fix doc style
2016-09-14 11:08:02 +02:00
kosmaty
eef41fd8ab
Fix doc style
...
Closes gh-1172
2016-09-14 11:07:26 +02:00
Rossen Stoyanchev
bc14c5ba83
Polish [CssLinkResource|AppCacheManifest]Transformer
...
This commit updates the two transformers to make them more
consistent with updates of their spring-web-reactive equivalents.
Issue: SPR-14521
2016-09-13 18:04:40 -04:00
Rossen Stoyanchev
33d90747a1
Asynchronous ResourceResolver + ResourceTransformer
...
Issue: SPR-14521
2016-09-13 18:04:40 -04:00
Juergen Hoeller
f592599349
Polishing
...
(cherry picked from commit 54db496
)
2016-09-13 23:48:41 +02:00
Juergen Hoeller
782c99dfaf
PropertySourcesPropertyResolver does not log retrieved value by default
...
Issue: SPR-14709
(cherry picked from commit fbe7ddb
)
2016-09-13 23:48:15 +02:00
Juergen Hoeller
ce42ed4d44
Polishing
2016-09-13 21:58:41 +02:00
Juergen Hoeller
c69e6a36f7
Revised IllegalArgumentException handling for Formatter parse calls
...
Issue: SPR-14661
2016-09-13 21:55:20 +02:00
Juergen Hoeller
0c2e8a6246
Consistent callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars
...
Issue: SPR-14686
2016-09-13 21:49:24 +02:00
Juergen Hoeller
5405c07d26
Configuration class processing uses MetadataReaderFactory for current ResourceLoader
...
Issue: SPR-14684
2016-09-13 21:47:32 +02:00
Juergen Hoeller
34ab818dfa
HibernateExceptionTranslator avoids JPA IllegalState/ArgumentException translation
...
Issue: SPR-14681
2016-09-13 21:46:02 +02:00
Juergen Hoeller
480cd2c2f0
IdentityHashMap for scheduled tasks (avoiding hashCode calls on bean instances)
...
Issue: SPR-14666
2016-09-13 21:44:29 +02:00
Juergen Hoeller
a86f6d3676
ApplicationEventPublisher as functional interface
...
Issue: SPR-14699
2016-09-13 21:42:23 +02:00
Juergen Hoeller
915350d0ce
Reliable last-modified timestamp tests on Windows
2016-09-13 21:41:11 +02:00
Juergen Hoeller
118d093eaf
Drop defensive Joda-Time 2.x check
2016-09-13 21:37:44 +02:00
Juergen Hoeller
d5c9cc62f1
Correct ISO DateTime example
...
Issue: SPR-14675
2016-09-13 21:36:41 +02:00
Juergen Hoeller
edbc1e9212
Avoid outdated Tibco workaround in shouldCommitAfterNoMessageReceived
...
Issue: SPR-14697
2016-09-13 21:34:47 +02:00
Juergen Hoeller
fa820bc0c9
PropertyValue stores source object in common superclass field
...
Issue: SPR-8337
2016-09-13 21:29:05 +02:00
Juergen Hoeller
6f491bb319
Upgrade to Tomcat 8.5.5 and Undertow 1.4.2
2016-09-13 21:27:01 +02:00
Arjen Poutsma
360ef5f5e3
Remove accidentally added ModelAndView class
...
Removed accidentally added ModelAndView class.
2016-09-13 20:16:41 +02:00
Sebastien Deleuze
fc52ddcd97
Polish
2016-09-13 15:03:13 +02:00
Arjen Poutsma
d8f4d37624
Fixed bug in reading Flux from Channel
...
Fixed bug where the returned Flux from DataBufferUtils.read() would be
completed prematurely if the channel was not ready to read, but did
not reach the end of the file either.
2016-09-12 19:23:15 +02:00
Arjen Poutsma
61bf6a25b7
Renamed 'and' to 'andSame' and 'andOther' to 'and'
...
In RoutingFunction, renamed 'and' to 'andSame', and 'andOther' to
'and' to make the commonly used method name shorter.
2016-09-12 15:41:58 +02:00
Arjen Poutsma
96ec18a9aa
Merged all Response implementations into one
...
Merged all *Response implementations into one DefaultResponses class
2016-09-12 15:41:04 +02:00
Arjen Poutsma
35b93b2948
Add template rendering support
...
This commit introduces template rendering support in the web.reactive
package, through a Response.render method and a Rendering interface.
2016-09-12 15:39:49 +02:00
Sebastien Deleuze
4991b97887
Polish
2016-09-12 14:47:48 +02:00
nkjackzhang
802a4c6d02
Remove unnecessary "method" in reference manual ( #1166 )
...
From context, It seems that the first word "method" is needless,
2016-09-12 11:47:26 +02:00
Sebastien Deleuze
aaba53f76a
Allow to pass hints parameter in HttpMessageReader/Writer
...
Issue: SPR-14557
2016-09-12 11:13:27 +02:00
Sebastien Deleuze
b91867cf45
Update Codec API to use Map<String, Object> for hints
...
Issue: SPR-14557
2016-09-12 11:08:01 +02:00
Juergen Hoeller
b88ed85994
Upgrade to Hibernate Validator 5.3 CR1 (and Protobuf 3.0.2)
...
Issue: SPR-13965
2016-09-10 12:39:46 +02:00
Juergen Hoeller
d631b4cca9
HibernateTemplate reflectively calls getNamedQuery (for runtime compatibility with Hibernate 5.0/5.1 vs 5.2)
...
Issue: SPR-14676
2016-09-10 12:38:04 +02:00
Juergen Hoeller
8c5660683a
MappingJackson2MessageConverter adds message id and destination to type resolution exception
...
Issue: SPR-14672
2016-09-10 12:37:55 +02:00
Stephane Nicoll
f55b4c23fc
Merge pull request #1165 from nkjackzhang:patch-6
...
* pr/1165:
Fix typo
2016-09-10 07:49:14 +02:00
nkjackzhang
170d8ba5c4
Fix typo
...
There is no attribute named `path` in `@RequestParam`, so I change it to
`name`.
Closes gh-1165
2016-09-10 07:48:25 +02:00