Commit Graph

11181 Commits

Author SHA1 Message Date
Stephane Nicoll
4aedd92c3c Merge pull request #908 from haisi/master
* pr/908:
  Fix typo
2015-11-01 16:08:10 +01:00
Hasan Kara
ff4e48c7a1 Fix typo
Closes gh-908
2015-11-01 16:07:56 +01:00
Rossen Stoyanchev
598fafd957 Fix failing test 2015-10-29 21:02:45 -04:00
Rossen Stoyanchev
c5995149b3 Further improve detecttion of custom CNVR
Refine the approach of having <mvc:view-resolvers> detect and use the
ContentNegotiationManager instance registered with
<mvc:annotation-driven> introduced in the last commit.

Issue: SPR-13559
2015-10-29 20:58:31 -04:00
Rossen Stoyanchev
f84a0c914a Detect custom ContentNegotiationViewResolver
The <mvc:annotation-driven> element now adds an alias when a
ContentNegotiationManager bean is registered with a custom name.
This helps <mvc:view-resolvers> to more reliably find such a custom
ContentNegotiationManager.

Issue: SPR-13559
2015-10-29 18:01:00 -04:00
Rossen Stoyanchev
3e807c297d Update WebLogicRequestUpgradeStrategy for WLS 12.2.1
Issue: SPR-13234
2015-10-29 17:09:43 -04:00
Hronom
1d60a6a6af Added strict compare mode for Json
Issue: SPR-13607
2015-10-29 17:05:37 +01:00
Brian Clozel
9334fabe26 Don't throw NPE when serving webjar directories
Prior to this change, serving resources with ResourceHttpRequestHandler
could result in NPE when requesting an existing folder located in a JAR.

This commit swallows those exceptions, as it is not possible to foresee
those cases without reading the actual resource. This result in a HTTP
200 response with a zero Content-Length instead of a HTTP 500 internal
exception.

Issue: SPR-13620
2015-10-29 16:10:27 +01:00
Rossen Stoyanchev
323fa8510d Call complete() on MockAsyncContext after dispatch
Issue: SPR-13615
2015-10-29 10:12:47 -04:00
Brian Clozel
546efc2a91 Upgrade to Undertow 1.3.4.Final 2015-10-29 12:12:56 +01:00
Rossen Stoyanchev
5ac57e8ea6 Restore compatibility with WildFly
Issue: SPR-13619
2015-10-28 17:56:02 -04:00
Juergen Hoeller
baae8ddd3e Upgrade to CGLIB 3.2
Issue: SPR-13353
2015-10-28 21:25:32 +01:00
Juergen Hoeller
081905d3b3 Latest dependency updates (Gson 2.4, Joda-Time 2.9, EhCache 2.10.1) 2015-10-28 20:34:44 +01:00
Juergen Hoeller
a778468771 Consistent JSP tag documentation
Issue: SPR-13520
2015-10-28 18:31:17 +01:00
Juergen Hoeller
1571829c34 Consistent bracket style in view chapter 2015-10-28 18:28:07 +01:00
Juergen Hoeller
a13a1eb1f1 Reference documentation for ObjectFactory and JSR-330's Provider
Issue: SPR-13117
2015-10-28 18:27:18 +01:00
Juergen Hoeller
a268cdb913 Fixed javadoc links to setCacheSeconds 2015-10-28 16:06:59 +01:00
Juergen Hoeller
68308c047e Explicit notes on programmatic Executor setup in @Bean methods
Issue: SPR-8131
2015-10-28 16:06:35 +01:00
Juergen Hoeller
629e2a0396 Explicit notes on programmatic JNDI lookups in @Bean methods
Issue: SPR-8129
2015-10-28 16:06:10 +01:00
Stephane Nicoll
0579e61a65 Add API to register collection converters
Previously, the only way to add the collection converters to a registry
was to add *all* default converters. A new "addCollectionConverters"
public method is now available to only register them.

Issue: SPR-13618
2015-10-28 15:55:29 +01:00
Juergen Hoeller
91b3caf238 Fixed visibility of 4.2's additional default converters
Issue: SPR-12175
Issue: SPR-13020
2015-10-28 15:38:46 +01:00
Juergen Hoeller
93f77f5d51 Note on multiple @Bean methods for same bean
Issue: SPR-13438
2015-10-28 15:38:31 +01:00
Stephane Nicoll
48576f2815 Merge pull request #905 from ericbottard/patch-1
* pr/905:
  Fix elvis operator example
2015-10-28 15:35:54 +01:00
Eric Bottard
bd4aa41fda Fix elvis operator example
Closes gh-905
2015-10-28 15:35:45 +01:00
Juergen Hoeller
f6dd7e4df8 Fixed cron trigger example in reference documentation
Issue: SPR-10474
2015-10-28 14:30:26 +01:00
Juergen Hoeller
6d369308cc Improved SessionLocaleResolver documentation
Issue: SPR-13505
2015-10-28 14:30:08 +01:00
Juergen Hoeller
bc1dc9a074 Removed outdated XmlBeanFactory references
Issue: SPR-13485
2015-10-28 14:29:48 +01:00
Juergen Hoeller
81342f14d4 Declared JDBC operation compiled flag as volatile
Issue: SPR-13617
2015-10-28 14:28:32 +01:00
Juergen Hoeller
c1c07bbeb2 AbstractDispatcherServletInitializer allows for registering any FrameworkServlet subclass
Issue: SPR-13616
2015-10-28 14:00:20 +01:00
Stephane Nicoll
9bed389d1f Harmonize javadoc urls in developer guide
Issue: SPR-13613
2015-10-27 14:31:00 +01:00
Juergen Hoeller
400749667a Polishing 2015-10-26 23:10:33 +01:00
Juergen Hoeller
64a8dfbd12 CharacterEncodingFilter provides convenience constructors for Servlet 3.0 style usage
Issue: SPR-13572
2015-10-26 22:48:54 +01:00
Juergen Hoeller
11d1f050e9 NamedParameterUtils skips Postgres-style ?? operator
Issue: SPR-13582
2015-10-26 22:47:12 +01:00
Juergen Hoeller
5386e8a9e9 DefaultListableBeanFactory skips resolvableDependencies check for null value
Issue: SPR-13599
2015-10-26 22:45:36 +01:00
Juergen Hoeller
8c4b8d253a Auto-adapt reflective arguments in case of vararg array type mismatch
Issue: SPR-13328
2015-10-26 22:43:37 +01:00
Rossen Stoyanchev
1c382be00e Expose build method in SseEventBuilder
Issue: SPR-13591
2015-10-26 16:19:10 -04:00
Rossen Stoyanchev
050e79e45e Skip Content-Disposition header if status != 2xx
Issue: SPR-13588
2015-10-26 16:01:32 -04:00
Sebastien Deleuze
994a11da3e Document default charset in Jackson message converters Javadoc
Issue: SPR-13600
2015-10-26 11:39:00 +01:00
Stephane Nicoll
0039c74649 Add a note on JmsListenerEndpointRegistry
Issue: SPR-13606
2015-10-25 09:18:39 +01:00
Stephane Nicoll
7ba67cc3dd Merge pull request #895 from LinkedList/SPR-10448
* pr/895:
  Fix missing @EnableScheduling in documentation
2015-10-22 20:07:54 +02:00
Martin Macko
37735b35fc Fix missing @EnableScheduling in documentation
Issue: SPR-10448
2015-10-22 20:06:30 +02:00
Kazuki Shimizu
64790903e9 Add description for two exceptions which handled by DefaultHandlerExceptionResolver in reference document
* MissingPathVariableException (Available since 4.2)
* NoHandlerFoundException (Available since 4.0)
2015-10-19 17:00:33 -04:00
Sam Brannen
1bf7249d59 Suppress deprecation warning in HtmlUnitRequestBuilderTests 2015-10-16 19:15:29 +02:00
Sam Brannen
a58b685162 Polish formatting in Web MVC chapter 2015-10-16 16:33:13 +02:00
Sam Brannen
e7adc6810b Fix broken link in Web MVC chapter 2015-10-16 16:32:30 +02:00
Sam Brannen
6a4cc7e681 Fix typos in Web MVC chapter 2015-10-16 16:31:54 +02:00
Sam Brannen
333cfeb6f0 Polish Testing chapter regarding @Commit 2015-10-16 16:08:42 +02:00
Sam Brannen
f5ee13c5da Fix formatting in the Testing chapter 2015-10-16 01:48:04 +03:00
Spring Buildmaster
a53e2b0776 Next Development Version 2015-10-15 05:36:17 -07:00
Rossen Stoyanchev
2bd1daa75e Protect against RFD exploits
Issue: SPR-13548
2015-10-15 10:33:27 +02:00