Juergen Hoeller
6f6ff33202
Consider enum subclasses as simple value types as well
...
Issue: SPR-16278
(cherry picked from commit d3e0f4d )
8 years ago
Juergen Hoeller
4bb837582e
Support for static field access on non-public enums
...
Issue: SPR-16284
(cherry picked from commit 9beb978 )
8 years ago
Juergen Hoeller
3368dcae22
Avoid extra existence check in SimpleMetadataReaderFactory
...
Issue: SPR-16281
(cherry picked from commit 7ad69bf )
8 years ago
Rossen Stoyanchev
86704112b0
Update docs on stomp.js library
...
This is a backport of #357fb4.
Issue: SPR-15624
8 years ago
Rossen Stoyanchev
d62dd2dd8d
Polish MockRestServiceServer code
...
Cherry picked from #7ab4d0ca08
8 years ago
sdeleuze
e935018b0c
Fix SockJs CorsConfiguration for forbidden origins
...
After this commit, AbstractSockJsService uses the configured allowed
origins when generating the CorsConfiguration instead of "*".
As a consequence, forbidden origin requests still result in a 403
response but now with no CORS headers in order to improve consistency
between the status code and the headers.
Issue: SPR-16304
8 years ago
Stephane Nicoll
0747cd6a70
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
8 years ago
Rossen Stoyanchev
0a30b71dc3
Fix failing tests caused by previous commit
8 years ago
Rossen Stoyanchev
03118542f4
MockHttpInputMessage respects getBody contract
...
Issue: SPR-16367
8 years ago
sdeleuze
1b3b058ebd
Refine forwarded protocol support
...
This commit refines forwarded protocol support in order to support
proxies that only set "X-Forwarded-Proto" header and not
"X-Forwarded-Port" by performing a reset of the port in such case.
"Forwarded" header support has been updated accordingly since it
also supports similar use case, as described in SPR-15504.
Issue: SPR-16262
8 years ago
Stephane Nicoll
8aa94aee27
Fix SpEL syntax
...
Issue: SPR-16315
8 years ago
Rossen Stoyanchev
6dbc828aa1
MappingJackson2MessageConverter uses generic type
...
This is a backport of the #583201 minus use of GenericTypeResolver
which in 5.0 has been refactored to provide a getJavaType method.
Issue: SPR-16252
8 years ago
nkjackzhang
3c31e0378f
Polish Javadoc
...
Closes gh-1627
8 years ago
sdeleuze
e6e6b8f4ad
Allow interceptors to add existing header values
...
Additional commit to provide support of requests
that have a body.
Issue: SPR-15066
8 years ago
Rossen Stoyanchev
4fe94dffc0
Fix regression in StompHeaderAccessor
...
Issue: SPR-16265
8 years ago
sdeleuze
4b8a937bee
Allow interceptors to add existing header values
...
Provide a fully mutable HttpHeaders to ClientHttpRequestInterceptors
of a RestTemplate when headers are set using HttpEntity. This avoids
UnsupportedOperationException if both HttpEntity and
ClientHttpRequestInterceptor add values for the same HTTP header.
Issue: SPR-15066
8 years ago
Spring Buildmaster
55fc731c59
Next Development Version
8 years ago
Juergen Hoeller
40a61277e1
Upgrade to Groovy 2.4.13
8 years ago
Juergen Hoeller
8c499cb10b
Polishing
8 years ago
Juergen Hoeller
723b2b19a6
Consistent checks in DataAccessUtils (plus nullability hints in javadoc)
...
Issue: SPR-16225
8 years ago
Juergen Hoeller
f09e252417
Polishing
8 years ago
Juergen Hoeller
f3b8d7138c
Consistent use of tabs for sample code in the reference documentation
8 years ago
Juergen Hoeller
47383fce97
Unit tests for configuration superclass inclusion
...
Issue: SPR-16217
(cherry picked from commit 08c95fb )
8 years ago
Juergen Hoeller
8206f0652b
Deprecate Castor support
...
Issue: SPR-16219
(cherry picked from commit 08c7855 )
8 years ago
jianglei
1b58fad228
Fix copy/paste in Javadoc
...
Closes gh-1601
8 years ago
Juergen Hoeller
a58ef88f1d
SqlParameterSourceUtils.createBatch polishing (partial backport)
...
Issue: SPR-16215
8 years ago
Juergen Hoeller
1d060ecff0
Document common use cases for @Order vs @Priority vs @DependsOn
...
Issue: SPR-16213
(cherry picked from commit 84699c8 )
8 years ago
Juergen Hoeller
122a3fe9fd
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
...
(cherry picked from commit 20fcefc )
8 years ago
Rossen Stoyanchev
2a309a031a
Revise charset by location support for static resources
8 years ago
Juergen Hoeller
03fef655ff
Restored support for placeholders in mvc namespace resource locations
...
With the recent charset mechanism in place, we cannot rely on implicit placeholder parsing during String-to-Resource conversion anymore.
(cherry picked from commit 7af9910 )
8 years ago
Juergen Hoeller
a9e2040831
HibernateJpaVendorAdapter properly checks connectionReleaseOnClose
...
Issue: SPR-16162
8 years ago
Juergen Hoeller
ffbaa26b4f
End of first-class JDK 6 support
...
Issue: SPR-16185
8 years ago
Juergen Hoeller
586912792a
Upgrade to Netty 4.1.17 and Undertow 1.3.33
8 years ago
Juergen Hoeller
640c8ff693
Polishing
8 years ago
Juergen Hoeller
d52d9fd268
HibernateJpaVendorAdapter preserves connection release mode for JTA
...
Issue: SPR-16162
8 years ago
Juergen Hoeller
f861f182fa
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
8 years ago
Juergen Hoeller
d5f34ed641
Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
...
Issue: SPR-16154
8 years ago
Juergen Hoeller
a88c47a120
Properly handle follow-up request after failure
...
Issue: SPR-16132
8 years ago
Juergen Hoeller
6dc73469f9
MethodReference treats proxy-targeting expressions as non-compilable
...
Issue: SPR-16191
(cherry picked from commit c30145d )
8 years ago
Juergen Hoeller
59d654b0cf
Unit tests for unresolvable generics with partial mismatch
...
Issue: SPR-16179
(cherry picked from commit e2bb06e )
8 years ago
Juergen Hoeller
9779b8b2ab
SpringValidatorAdapter skips value retrieval for Set field without index
...
Issue: SPR-16177
(cherry picked from commit 3091fee )
8 years ago
Juergen Hoeller
2c8a6bb6f5
Explicitly document UriTemplate as thread-safe
...
Issue: SPR-16173
(cherry picked from commit de78202 )
8 years ago
Juergen Hoeller
5800c7a18a
Comprehensive documentation on injection point matching
...
Issue: SPR-16142
(cherry picked from commit a5da05c )
8 years ago
Juergen Hoeller
dc0a934c99
MockHttpServletResponse.getDateHeader returns -1 for non-existent header
...
Includes consistent getDateHeader results in both MockHttpServletResponse variants (spring-test and spring-web)
Issue: SPR-16160
(cherry picked from commit 80a0cf7 )
8 years ago
Juergen Hoeller
9ca4de1ccf
MockHttpServletRequest.getRequestURL aligns with getServerName/Port
...
Issue: SPR-16138
(cherry picked from commit 0edf4d6 )
8 years ago
Juergen Hoeller
519195cf66
AbstractApplicationContext silently ignores non-initialized ApplicationEventMulticaster/LifecycleProcessor on destruction
...
Issue: SPR-16149
(cherry picked from commit 1611ce7 )
8 years ago
Juergen Hoeller
573ff2c58d
ClassPathResource uses specific constructors in createRelative
...
Issue: SPR-16146
(cherry picked from commit d00e4f1 )
8 years ago
Rossen Stoyanchev
9470719cdb
Support charset config by (static) resource location
...
This commit adds support for configuring static resource locations
with a charset to be applied to relative paths.
8 years ago
Rossen Stoyanchev
97bc2762e1
Handle errors via AsyncListener
...
This is a limited backport of commit #e0678b mainly providing the fix without
exposing the onError callbacks.
Issue: SPR-16058
8 years ago
Juergen Hoeller
5867ea0c3c
Correct SpEL example (matching its comment)
...
Issue: SPR-16111
9 years ago