Juergen Hoeller
b23c23279b
AbstractEmbeddedDatabaseConfigurer explicitly closes JDBC Connection on shutdown
...
Issue: SPR-13474
2015-09-21 20:42:50 +02:00
Sebastien Deleuze
299b7766fe
Allow same-origin WebSocket/SockJS requests once origin is set
...
Issue: SPR-13464
2015-09-21 17:08:58 +02:00
Stephane Nicoll
f60bd25666
Merge pull request #874 from kamilszymanski/fix-configuration-docs
...
* pr/874:
Fix `@Configuration` javadoc typo
2015-09-18 06:40:34 -04:00
Kamil Szymanski
6802504db0
Fix @Configuration javadoc typo
...
Closes gh-874
2015-09-18 06:39:57 -04:00
Stephane Nicoll
3b17de8ab2
Merge pull request #873 from izeye/patch-5
...
* pr/873:
Add a missing `@throws` in Javadoc
2015-09-15 06:30:10 -04:00
izeye
1aa77ef817
Add a missing @throws in Javadoc
...
Closes gh-873
2015-09-15 06:29:50 -04:00
Sam Brannen
e2bfbdcfd1
Support attribute overrides with @ResponseStatus
...
This commit introduces support for attribute overrides for
@ResponseStatus when @ResponseStatus is used as a meta-annotation on
a custom composed annotation.
Specifically, this commit migrates all code that looks up
@ResponseStatus from using AnnotationUtils.findAnnotation() to using
AnnotatedElementUtils.findMergedAnnotation().
Issue: SPR-13441
2015-09-11 21:05:30 +02:00
Sam Brannen
4a49ce9694
Polish Javadoc for @ResponseStatus
2015-09-11 16:40:55 +02:00
Sam Brannen
de2e201a2a
Refer to @Commit instead of @Rollback(false) in the reference manual
2015-09-10 19:35:17 +02:00
Juergen Hoeller
bc13cb2af5
Polishing
2015-09-10 14:05:06 +02:00
Juergen Hoeller
ae0d945a05
DeferredResult accessors based on volatile fields for proper visibility
...
Issue: SPR-13451
2015-09-10 14:04:35 +02:00
Juergen Hoeller
4dee9cbf62
ConcurrentMapCache.putIfAbsent properly supports nulls
...
Issue: SPR-13458
2015-09-10 14:02:18 +02:00
Sebastien Deleuze
f3b7e9ff2d
Expose view url to render function in ScriptTemplateView
...
After this change, with Nashorn it is possible to use either
render(template, model) or render(template, model, url).
With JRuby or Jython, specifying the 3 parameters is mandatory.
Issue: SPR-13453
2015-09-09 18:05:04 +02:00
Sebastien Deleuze
ff02ad47e0
Close properly the InputStream in ScriptTemplateView#getTemplate()
...
Issue: SPR-13445
2015-09-09 12:15:48 +02:00
Juergen Hoeller
f2c9838e95
Updated ContentNegotiatingViewResolver example towards ContentNegotiationManager
...
Issue: SPR-13431
2015-09-09 11:46:14 +02:00
Juergen Hoeller
99f72ce3db
Polishing
2015-09-09 11:45:12 +02:00
Juergen Hoeller
5f598586ea
SseEmitter exposes super constructor with timeout value
...
Issue: SPR-13446
2015-09-09 11:43:52 +02:00
Juergen Hoeller
c4f5a0fb10
MessagingException provides null description (instead of empty String) to NestedRuntimeException
...
Issue: SPR-13447
2015-09-09 11:42:59 +02:00
Sam Brannen
22e84a87f4
Polish proxy tests
2015-09-08 18:34:47 +02:00
Sam Brannen
ae8a341a55
Polishing
2015-09-08 18:34:47 +02:00
Juergen Hoeller
52fdfd59ab
Polishing
2015-09-08 18:11:30 +02:00
Juergen Hoeller
5c22002d21
Latest dependency updates (Undertow 1.2.12, WebJars Locator 0.28)
2015-09-08 18:04:56 +02:00
Juergen Hoeller
a8432bc8a1
Tests for enum array with varargs (and related refinements)
...
Issue: SPR-13328
2015-09-08 11:13:23 +02:00
Juergen Hoeller
1feb757c54
ResourceHttpMessageConverter allows for using InputStreamResource
...
Issue: SPR-13443
2015-09-08 11:04:34 +02:00
Juergen Hoeller
e393c7b1ee
AbstractEnvironment defensively synchronizes access to activeProfiles and defaultProfiles
...
Issue: SPR-13213
2015-09-08 11:03:15 +02:00
Juergen Hoeller
e214e64782
Latest dependency updates (Hibernate ORM 5.0.1, JasperReports 6.1.1, Joda-Time 2.8.2, SnakeYAML 1.16)
2015-09-04 15:11:19 +02:00
Juergen Hoeller
667fc7e4a9
Polishing
2015-09-04 14:38:47 +02:00
Juergen Hoeller
811de8e50b
AbstractApplicationContext allows for re-refresh and re-close
...
Issue: SPR-13425
2015-09-04 14:38:23 +02:00
Sam Brannen
c663fd551a
Polishing
2015-09-03 17:31:55 +02:00
Sam Brannen
734aecb15a
Polish "What's New" section in reference manual
2015-09-03 17:30:14 +02:00
Brian Clozel
d3d81c2864
Add MockHttpServletResponse.getDateHeader
...
This change adds a new `getDateHeader` method that converts date header
Strings to long values - making tests more readable.
This feature is also documented in the "what's new section" for 4.2.
2015-09-03 16:03:46 +02:00
Brian Clozel
e81a430e61
Fix @RequestBody(required=false) support
...
Prior to this commit, requests with an empty body and no Content-Type
header set would fail with a HttpMediaTypeNotSupportedException when
mapped to a Controller method argument annotated with
@RequestBody(required=false).
In those cases, the server implementation considers with an
"application/octet-stream" content type and polls messageconverters for
conversion. If no messageconverter is able to process this request, a
HttpMediaTypeNotSupportedException is thrown.
This change makes sure that such exceptions are not thrown if the
incoming request has:
* no body
* no content-type header
In this case, a null value is returned.
Issue: SPR-13147
2015-09-03 14:53:43 +02:00
Juergen Hoeller
eeab7f38a2
Fixed generateETagHeaderValue's IOException handling
...
Issue: SPR-12081
2015-09-02 19:43:15 +02:00
Sam Brannen
93f3b9cbe0
Polish Javadoc for @EnableAsync
2015-09-02 19:08:56 +02:00
Juergen Hoeller
ec741bd5ea
Latest dependency updates (Jetty 9.3.3, Netty 4.0.31, Undertow 1.2.11)
2015-09-02 16:56:04 +02:00
Juergen Hoeller
1ed1167153
Avoid ConcurrentModificationException in SingleConnectionFactory's AggregatedExceptionListener
...
Issue: SPR-13421
2015-09-02 16:55:09 +02:00
Sam Brannen
2caaa81afa
Polishing
2015-09-02 15:37:16 +02:00
Sam Brannen
21cfa0e4ba
Suppress warning in DefaultDeserializer
2015-09-02 15:25:10 +02:00
Sam Brannen
b9e461a54f
Polishing
2015-09-02 15:07:49 +02:00
Juergen Hoeller
2fa1caca0c
ServletWebRequest.checkNotModified avoids HttpServletResponse.getHeader calls on Servlet 2.5
...
Includes a revision for consistent and defensive Servlet 3.0 method calls across Spring's web abstraction (in particular, also working in debug mode where method references may get resolved early, so ternary expressions are to be avoided).
Issue: SPR-13420
2015-09-02 14:17:42 +02:00
Spring Buildmaster
d32ba954dc
Next Development Version
2015-09-01 02:28:34 -07:00
Juergen Hoeller
0867a5e67f
Polishing
2015-09-01 10:22:39 +02:00
Sebastien Deleuze
12937680b7
Add a section about message converters customization in the refdoc
...
Issue: SPR-13411
2015-09-01 00:58:29 +02:00
Sam Brannen
af905aaaea
Document HtmlUnit & WebDriver deps in reference manual
...
This commit improves the documentation in the reference manual for the
HtmlUnit & Selenium WebDriver integration in the Spring MVC Test
framework by mentioning the group and artifact IDs required for this
functionality.
Issue: SPR-13299
2015-09-01 00:53:00 +02:00
Sam Brannen
9b1178cf71
Document support for transitive implicit aliases in @AliasFor
...
Issue: SPR-13405
2015-09-01 00:30:33 +02:00
Sebastien Deleuze
542e21b3f6
Polish Jackson2ObjectMapperBuilder/FactoryBean javadoc
2015-08-31 21:18:08 +02:00
Juergen Hoeller
566ea30167
Polishing
2015-08-31 17:32:33 +02:00
Juergen Hoeller
2bb7164c64
AsyncRestTemplate and FutureAdapter consistently throw ExecutionException
...
Issue: SPR-13413
2015-08-31 17:31:52 +02:00
Juergen Hoeller
d99717c1cb
DefaultDeserializer and DeserializingConverter allow for specifying a ClassLoader
...
Issue: SPR-13409
2015-08-31 17:31:41 +02:00
Juergen Hoeller
d4a23b81e9
Properties values get properly converted to generic Map types (fixing 4.x regression without use of ConversionService)
...
Issue: SPR-13256
2015-08-31 17:20:05 +02:00