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
Brian Clozel
56fdda167e
Guard against invalid paths in ResourceUrlProvider
...
This commit makes sure that no `StringIndexOutOfBoundsException` is
thrown when `getForRequestUrl` is called with a URL that's shorter than
the expected context path.
Issue: SPR-16526
(cherry picked from commit 6d26e61ac7 )
8 years ago
Juergen Hoeller
017f2a8ccc
Upgrade to Animal Sniffer 1.16
8 years ago
Juergen Hoeller
f7898951bd
Correct description for class-level @Transactional with AspectJ
...
Includes isolation level clarifications.
Issue: SPR-16552
Issue: SPR-16463
8 years ago
Juergen Hoeller
bd6b7b08f3
Concurrency and exception message refinements for test transactions
...
(cherry picked from commit a0cc800 )
8 years ago
Juergen Hoeller
bc043245cc
Polishing
8 years ago
Juergen Hoeller
6e8a3fb4db
Upgrade to Groovy 2.4.14
8 years ago
Juergen Hoeller
1f12214b45
Polishing
8 years ago
Juergen Hoeller
c6bd0c9f3d
Revert MessageConsumer interrupt calls (just log wait count on shutdown)
...
Issue: SPR-16536
8 years ago
Rossen Stoyanchev
fb22915563
Correct log level
...
Issue: SPR-16528
8 years ago
Juergen Hoeller
c5c27f2963
Polishing
8 years ago
Juergen Hoeller
3e6cfb7c6d
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
...
Issue: SPR-16543
(cherry picked from commit 4781627 )
8 years ago
Juergen Hoeller
8e68ac44d2
Polishing
8 years ago
Juergen Hoeller
81c50dc674
Polishing
8 years ago
Juergen Hoeller
57aa3d1e3b
Consistent but local aspect instantiation in AspectJProxyFactory (4.3.x)
8 years ago
Juergen Hoeller
2c45b09263
Polishing
8 years ago
Juergen Hoeller
59f12635f9
Interrupt listener invoker threads on shutdown (after initial wait step)
...
Issue: SPR-16536
(cherry picked from commit 95aad9c )
8 years ago
Juergen Hoeller
901d48c803
Support for ResolvableType.getType().getTypeName() on Java 8
...
Issue: SPR-16535
(cherry picked from commit 6663d0f )
8 years ago
Juergen Hoeller
0bc7c47bea
Polishing
8 years ago
Juergen Hoeller
06e2bada0a
ConcurrentMapCache.get(key, valueLoader) avoids race condition
...
Issue: SPR-16533
8 years ago
Juergen Hoeller
8181c0237f
Enforce GMT timezone for testBindInstantFromJavaUtilDate
...
Issue: SPR-16534
(cherry picked from commit 7d89de0 )
8 years ago
Juergen Hoeller
d4af8c86b2
Polishing
8 years ago
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
8 years ago
Juergen Hoeller
073e78b68d
Polishing
8 years ago
Juergen Hoeller
f9754f92f4
Mark Castor tests as deprecated
...
Issue: SPR-16219
(cherry picked from commit 85984f3 )
8 years ago
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075 )
8 years ago
Juergen Hoeller
295df21f06
Polishing
8 years ago
Juergen Hoeller
57a9e8e6dd
Efficiently merge bean name result with parent result (possibly empty)
...
(cherry picked from commit 7f58d9ede0 )
8 years ago
Juergen Hoeller
e83491fbe9
GsonHttpMessageConverter keeps output stream open (for SseEmitter)
...
Issue: SPR-16529
8 years ago
Juergen Hoeller
37ee264fbf
Local mergeStringArrays variant for Portlets (superseding StringUtils)
8 years ago
Juergen Hoeller
8b5563ecab
Deprecated StringUtils.mergeStringArrays
...
(cherry picked from commit 0f74052 )
8 years ago
Juergen Hoeller
0a3a82fd83
Upgrade to Netty 4.1.22
8 years ago
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
8 years ago
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
8 years ago
Juergen Hoeller
87abdb92da
Polishing
8 years ago
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
8 years ago
Juergen Hoeller
350f318d2e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
(cherry picked from commit 6d75732 )
8 years ago
Rossen Stoyanchev
608ef46516
ForwardedHeaderFilter handles query+fragment correctly
...
Issue: SPR-16506
8 years ago
Juergen Hoeller
d60446a4fe
Explicit documentation notes on transacted sessions vs AUTO_ACKNOWLEDGE
...
Issue: SPR-16487
(cherry picked from commit 95f7180 )
8 years ago
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
8 years ago
Juergen Hoeller
5ba37762fe
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
(cherry picked from commit 46cbdff )
8 years ago
Juergen Hoeller
f2dc075335
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
(cherry picked from commit 766e602 )
8 years ago
Juergen Hoeller
3b0eca921c
Refined exception messages
8 years ago
Juergen Hoeller
efe2539cf3
Upgrade to Tomcat 8.5.28 and Jackson 2.8.11.1
8 years ago