Rossen Stoyanchev
e8c656d2bc
Reject invalid forwarded headers
...
Issue: SPR-16660
8 years ago
Juergen Hoeller
bcda243f63
Polishing
8 years ago
Juergen Hoeller
64f304c333
Consistent references to primitive types (in alphabetical order)
...
(cherry picked from commit 08dad4e)
8 years ago
Juergen Hoeller
5f6b04251e
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
(cherry picked from commit 53d0139 )
8 years ago
Juergen Hoeller
618cb6155c
Correct description for doWithLocalFields
...
Issue: SPR-16658
(cherry picked from commit 3ac46da)
8 years ago
nkjackzhang
f3dd22da5b
NamedParameterUtils.parseSqlStatement should parse :{x} style parameter correctly
...
In my opinion, we should parse ":{x}" style parameter as "x" is parameter using "NamedParameterUtils.parseSqlStatement",
so the condition "j - i > 2" is the correct condition, not "j - i > 3", because if "i" is the index of
":" in ":{x}", and "j" is the index of "}" in ":{x}", "j - i == 3" is true.
Also add a test case for SPR-16663.
(cherry picked from commit 82cb5db)
8 years ago
Rossen Stoyanchev
6e4bbac6f7
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
8 years ago
Rossen Stoyanchev
2e4963fca3
Revert "Always specify charset for form data requests"
...
This reverts commit 1897d8e858 .
Issue: SPR-16613
8 years ago
Juergen Hoeller
4d0adc7d95
Upgrade to Tomcat 8.5.29
8 years ago
Juergen Hoeller
3b3f27d5ff
DefaultResponseErrorHandler.hasError avoids exception for unknown status
...
Issue: SPR-16604
8 years ago
Juergen Hoeller
f32b13c5b3
Restored original 4.3.x expectation for property access on null target
8 years ago
Rossen Stoyanchev
1897d8e858
Always specify charset for form data requests
...
Issue: SPR-16613
8 years ago
Rossen Stoyanchev
71126faae0
MimeTypeUtils trims parameter names / values
...
Issue: SPR-16630
8 years ago
Juergen Hoeller
9cc03fa8b0
Polishing
8 years ago
Juergen Hoeller
59189e5957
Backported core container concurrency refinements
...
Issue: SPR-16620
Issue: SPR-16625
Issue: SPR-16627
8 years ago
Juergen Hoeller
65a8aa1c09
Backported DataBindingPropertyAccessor and DataBindingMethodResolver
...
Issue: SPR-16588
8 years ago
Juergen Hoeller
f046a066ec
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
8 years ago
Juergen Hoeller
6e1cac9145
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
8 years ago
Juergen Hoeller
7cafa6764c
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
8 years ago
Juergen Hoeller
c1cb0311aa
Avoid triggering lazy resolution in MultipartResolver.cleanupMultipart
...
Issue: SPR-16640
(cherry picked from commit 10cb2cc)
8 years ago
Juergen Hoeller
f2478cf8cf
Contextual BeanCreationException in case of depending on a missing bean
...
Issue: SPR-16628
(cherry picked from commit 937cd48 )
8 years ago
Juergen Hoeller
977084a6b8
Correct documentation of default HttpMessageConverters in RestTemplate
...
Issue: SPR-7885
(cherry picked from commit 442ddb0)
8 years ago
Juergen Hoeller
0e7e49bab0
Deprecate TableMetaDataContext.getSimulationQueryForGetGeneratedKey
...
(cherry picked from commit 2c7efbb)
8 years ago
Juergen Hoeller
301ba01427
CallMetaDataContext handles 'procedureColumnResult' as return parameter
...
Issue: SPR-16611
(cherry picked from commit b7c4238)
8 years ago
Juergen Hoeller
881817678f
Scope annotation in class hierarchies vs XML bean definition inheritance
...
Issue: SPR-16602
(cherry picked from commit 914b247 )
8 years ago
Juergen Hoeller
b8c92ce931
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16596
Issue: SPR-16488
(cherry picked from commit d4a8f76)
8 years ago
Juergen Hoeller
6158634d67
Clarified repeatable PropertySource annotation vs use as meta-annotation
...
Issue: SPR-16592
(cherry picked from commit c4e9ce8)
8 years ago
Juergen Hoeller
8d8bb04783
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
(cherry picked from commit 356ef45 )
8 years ago
Juergen Hoeller
2cac3a8255
InterceptingClientHttpRequest adapts to StreamingHttpOutputMessage
...
Issue: SPR-16582
(cherry picked from commit 4173022 )
8 years ago
Juergen Hoeller
25a3019234
URIEditor uses straight ClassPathResource.getURI() access
...
Issue: SPR-16581
(cherry picked from commit 499128d)
8 years ago
Juergen Hoeller
3dff1b3f6e
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
(cherry picked from commit 1b1a69a)
8 years ago
Juergen Hoeller
b1295d0499
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
(cherry picked from commit df80614 )
8 years ago
Juergen Hoeller
eeeb0a6546
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
(cherry picked from commit cf74b1b )
8 years ago
Juergen Hoeller
1bde920cce
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
(cherry picked from commit 50253f6)
8 years ago
Rossen Stoyanchev
e02ff3a0da
MimeTypeUtils uses SecureRandom
...
The prevailing current wisdom is to use the default constructor for
secure and let it pick the best algorithm for the OS.
On Java 8 (Oracle), Linux this results in "NativePRNG" which uses
/dev/random (potentially blocking) for the initial seed, and
/dev/urandom (non-blocking) for subsequent calls to nextInt.
Issue: SPR-16635
8 years ago
Rossen Stoyanchev
ff377a3836
Minor typo in docs
8 years ago
Rossen Stoyanchev
ddb2bdf8c6
Improve docs on @Controller methods in STOMP section
...
Issue: SPR-16631
8 years ago
Rossen Stoyanchev
b9ebdaaf37
Backport clean duplicate separators in resource URLs
...
Issue: SPR-16616
8 years ago
Rossen Stoyanchev
4187e04b69
Backport doc change
8 years ago
Rossen Stoyanchev
d512cca3fd
Reactor2TcpClient constructor with address supplier
...
Issue: SPR-12452
8 years ago
Rossen Stoyanchev
4bc3e0c2b4
Add SimpleEvaluationContext
...
Issue: SPR-16588
8 years ago
Sam Brannen
d57d914b26
Make method params final for use in anonymous inner class
...
Issue: SPR-16587
8 years ago
Sam Brannen
68463e2018
Support target type in JsonPath assertions for MockMvc results
...
This commit picks up where SPR-14498 left off by adding support for an
explicit target type when using JsonPath to perform an assertion against
the response content using a Hamcrest Matcher.
Specifically, there is a new overloaded value(Matcher<T>, Class<T>)
method in JsonPathResultMatchers for use with Hamcrest matchers where
the target type (i.e., Class<T>) can be specified.
Issue: SPR-16587
8 years ago
Brian Clozel
6fa9539ae2
Don't implicitly check preconditions on PUT requests
...
Prior to this commit, the `HttpEntityMethodProcessor` would check HTTP
conditions on non-safe requests (i.e. not GET/HEAD). This would prevent
Controllers from returning `ResponseEntity` containing response headers
with updated values of `"Last-Modified"` or `ETag` once the resource has
been updated.
This commit avoids those checks for non GET/HEAD requests - this code
can still be leveraged from Controllers themselves using
`ServletWebRequest::checkNotModified` methods.
Issue: SPR-15780
(cherry picked from ed7684d2b2)
8 years ago
Yannik Hampe
ff53a26333
Make MockRestRequestMatchers independent of JUnit ( #1720 )
...
MockRestRequestMatchers was using org.junit.Assert.assertNotNull
and thus could not be used in projects that use e.g. TestNG instead
of JUnit 4.
8 years ago
Juergen Hoeller
b70d400c71
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
8 years ago
Juergen Hoeller
346d0e271d
Polishing
8 years ago
Juergen Hoeller
c15f23bf0c
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
(cherry picked from commit eb9c43d)
8 years ago
Juergen Hoeller
0962c66592
Consistent incrementer arrangement for PostgreSQL, DB2 and SAP HANA
...
Includes related polishing in core.metadata and datasource.embedded and a revision of the corresponding database definitions in sql-error-codes.
Issue: SPR-16558
(cherry picked from commit 82515a3 )
8 years ago
Juergen Hoeller
b643f7836c
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
(cherry picked from commit 4a4f2c2)
8 years ago