Sam Brannen
d66f85bd66
Polishing
11 years ago
Sam Brannen
0ad59ddb7a
Merge pull request #877 from nithril/SPR-13468
...
* SPR-13468:
Support @CrossOrigin as a merged composed annotation
11 years ago
Nicolas Labrot
e4c0859d41
Support @CrossOrigin as a merged composed annotation
...
Issue: SPR-13468
11 years ago
Sam Brannen
74b05118eb
Polish RequestMappingHandlerMappingTests
11 years ago
Sebastien Deleuze
48b512c5f4
Update Jackson builder to set properly AUTO_DETECT_IS_GETTERS
...
Issue: SPR-13073
11 years ago
Sam Brannen
6a30d04d1e
Ensure all 4.2 XSDs reference beans & tool XSDs from 4.2
11 years ago
Sam Brannen
c866c172ec
Polish spring-context-4.2.xsd
11 years ago
Juergen Hoeller
f0ebddef1e
Latest dependency updates (AspectJ 1.8.7, Jackson 2.6.2, EhCache 3.0 M3)
11 years ago
Juergen Hoeller
df0b26f0e6
XhrTransport implementations do not need to redeclare interface when extending from AbstractXhrTransport
11 years ago
Juergen Hoeller
fbce18418a
Context namespace exposes null-value attribute for property-placeholder element
...
Issue: SPR-13461
11 years ago
Juergen Hoeller
b23c23279b
AbstractEmbeddedDatabaseConfigurer explicitly closes JDBC Connection on shutdown
...
Issue: SPR-13474
11 years ago
Sebastien Deleuze
299b7766fe
Allow same-origin WebSocket/SockJS requests once origin is set
...
Issue: SPR-13464
11 years ago
Stephane Nicoll
f60bd25666
Merge pull request #874 from kamilszymanski/fix-configuration-docs
...
* pr/874:
Fix `@Configuration` javadoc typo
11 years ago
Kamil Szymanski
6802504db0
Fix `@Configuration` javadoc typo
...
Closes gh-874
11 years ago
Stephane Nicoll
3b17de8ab2
Merge pull request #873 from izeye/patch-5
...
* pr/873:
Add a missing `@throws` in Javadoc
11 years ago
izeye
1aa77ef817
Add a missing `@throws` in Javadoc
...
Closes gh-873
11 years ago
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
11 years ago
Sam Brannen
4a49ce9694
Polish Javadoc for @ResponseStatus
11 years ago
Sam Brannen
de2e201a2a
Refer to @Commit instead of @Rollback(false) in the reference manual
11 years ago
Juergen Hoeller
bc13cb2af5
Polishing
11 years ago
Juergen Hoeller
ae0d945a05
DeferredResult accessors based on volatile fields for proper visibility
...
Issue: SPR-13451
11 years ago
Juergen Hoeller
4dee9cbf62
ConcurrentMapCache.putIfAbsent properly supports nulls
...
Issue: SPR-13458
11 years ago
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
11 years ago
Sebastien Deleuze
ff02ad47e0
Close properly the InputStream in ScriptTemplateView#getTemplate()
...
Issue: SPR-13445
11 years ago
Juergen Hoeller
f2c9838e95
Updated ContentNegotiatingViewResolver example towards ContentNegotiationManager
...
Issue: SPR-13431
11 years ago
Juergen Hoeller
99f72ce3db
Polishing
11 years ago
Juergen Hoeller
5f598586ea
SseEmitter exposes super constructor with timeout value
...
Issue: SPR-13446
11 years ago
Juergen Hoeller
c4f5a0fb10
MessagingException provides null description (instead of empty String) to NestedRuntimeException
...
Issue: SPR-13447
11 years ago
Sam Brannen
22e84a87f4
Polish proxy tests
11 years ago
Sam Brannen
ae8a341a55
Polishing
11 years ago
Juergen Hoeller
52fdfd59ab
Polishing
11 years ago
Juergen Hoeller
5c22002d21
Latest dependency updates (Undertow 1.2.12, WebJars Locator 0.28)
11 years ago
Juergen Hoeller
a8432bc8a1
Tests for enum array with varargs (and related refinements)
...
Issue: SPR-13328
11 years ago
Juergen Hoeller
1feb757c54
ResourceHttpMessageConverter allows for using InputStreamResource
...
Issue: SPR-13443
11 years ago
Juergen Hoeller
e393c7b1ee
AbstractEnvironment defensively synchronizes access to activeProfiles and defaultProfiles
...
Issue: SPR-13213
11 years ago
Juergen Hoeller
e214e64782
Latest dependency updates (Hibernate ORM 5.0.1, JasperReports 6.1.1, Joda-Time 2.8.2, SnakeYAML 1.16)
11 years ago
Juergen Hoeller
667fc7e4a9
Polishing
11 years ago
Juergen Hoeller
811de8e50b
AbstractApplicationContext allows for re-refresh and re-close
...
Issue: SPR-13425
11 years ago
Sam Brannen
c663fd551a
Polishing
11 years ago
Sam Brannen
734aecb15a
Polish "What's New" section in reference manual
11 years ago
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.
11 years ago
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
11 years ago
Juergen Hoeller
eeab7f38a2
Fixed generateETagHeaderValue's IOException handling
...
Issue: SPR-12081
11 years ago
Sam Brannen
93f3b9cbe0
Polish Javadoc for @EnableAsync
11 years ago
Juergen Hoeller
ec741bd5ea
Latest dependency updates (Jetty 9.3.3, Netty 4.0.31, Undertow 1.2.11)
11 years ago
Juergen Hoeller
1ed1167153
Avoid ConcurrentModificationException in SingleConnectionFactory's AggregatedExceptionListener
...
Issue: SPR-13421
11 years ago
Sam Brannen
2caaa81afa
Polishing
11 years ago
Sam Brannen
21cfa0e4ba
Suppress warning in DefaultDeserializer
11 years ago
Sam Brannen
b9e461a54f
Polishing
11 years ago
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
11 years ago