Juergen Hoeller
914b2470dc
Scope annotation in class hierarchies vs XML bean definition inheritance
...
Issue: SPR-16602
7 years ago
Arjen Poutsma
b31d55dfce
Deprecated ClientRequest.method in favor of ClientRequest.create
...
The former method clashed with the ClientRequest.method() getter.
7 years ago
Arjen Poutsma
04c2a2990d
Provide simple way to create ClientResponse
...
This commit introduces ClientResponse.Builder, an easier way to create a
ClientResponse from an existing response, or from scratch.
Issue: SPR-16553
7 years ago
Juergen Hoeller
f8588e364a
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
7 years ago
Rossen Stoyanchev
7de2650a70
Drop @WebServlet annotation
...
Issue: SPR-16591
7 years ago
Rossen Stoyanchev
72bbb2619d
Commit actions are (properly) deferred
...
Issue: SPR-16597
7 years ago
Rossen Stoyanchev
541ee13934
Add bufferContent option to MockRestServiceServer
...
Issue: SPR-14694
7 years ago
Rossen Stoyanchev
f7e75a5b82
Polish MockRestServiceServer client tests
7 years ago
Rossen Stoyanchev
8d51d6769b
[docs] Polish reactive types section
7 years ago
Juergen Hoeller
2096676b3f
Upgrade to Apache Johnzon 1.1.7 and JRuby 9.1.16
7 years ago
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
7 years ago
Rossen Stoyanchev
b8d94f8a20
Improve WebFlux support for response status exceptions
...
Support @ResponseStatus annotated exceptions.
Supported root cause exceptions with response status information.
Issue: SPR-16567
7 years ago
Rossen Stoyanchev
cb8c6e3251
Add SimpleEvaluationContext
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
58011f71e9
Consistent assertions for template method result vs servlet registration
7 years ago
Juergen Hoeller
c4e9ce8d0e
Clarified repeatable PropertySource annotation vs use as meta-annotation
...
Issue: SPR-16592
7 years ago
Juergen Hoeller
3988dd9ebb
Polishing
7 years ago
Juergen Hoeller
356ef45e99
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
7 years ago
Stephane Nicoll
cc12afdea2
Add support for deferred import selector group
...
This commit allows several DeferredImportSelector instances to be
grouped and managed in a centralized fashion. This typically allows
different instances to provide a consistent ordered set of imports to
apply.
Issue: SPR-16589
7 years ago
Sam Brannen
5f4d5f17f7
Polishing
7 years ago
Sam Brannen
2c2ce55f47
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
7 years ago
Bronwyn Perry-Huston
d64f2eb038
Add JSON matcher to assert on request body
...
Support asserting JSON regardless of order and formatting.
Based on same JsonExpectationHelper used in ContentResultMatchers.
Issue: SPR-13919
7 years ago
Andy Clement
1db7e02de3
Modify SpEL code gen to take account of null safe refs
...
With this change the code generation for method and property
references is modified to include branching logic in the
case of null safe dereferencing (?.). This is complicated
by the possible usage of primitives on the left hand side
of the dereference. To cope with this case primitives are
promoted to boxed types when this situation occurs enabling
null to be passed as a possible result.
Issue: SPR-16489
7 years ago
Juergen Hoeller
41730220f4
InterceptingClientHttpRequest adapts to StreamingHttpOutputMessage
...
Issue: SPR-16582
7 years ago
Juergen Hoeller
499128dae7
URIEditor uses straight ClassPathResource.getURI() access
...
Issue: SPR-16581
7 years ago
sdeleuze
36a222acd5
Take into account the MimeType's charset in Jackson encoder
...
Notice that per specification, only Unicode is supported
(UTF8, UTF16_BE, UTF16_LE, UTF32_BE, UTF32_LE).
Issue: SPR-16539
7 years ago
Juergen Hoeller
99bb97388e
Upgrade to Tomcat 8.5.29 and Selenium 3.11
7 years ago
Juergen Hoeller
04a8f81710
Polishing
7 years ago
Juergen Hoeller
967a2ef2d2
Validate Class attributes as well as Class array attributes
...
Issue: SPR-16564
7 years ago
Juergen Hoeller
50e980c02f
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
7 years ago
Juergen Hoeller
1b1a69a144
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
7 years ago
Sam Brannen
42b4f6e1ff
Clean up warnings and dead code in spring-core module
7 years ago
Sam Brannen
2575c26020
Clean up warnings and dead code in spring-webflux module
7 years ago
Stephane Nicoll
fb7c4a3066
Polish
7 years ago
Sam Brannen
1fa1f2b58a
Delete unused import
7 years ago
Rossen Stoyanchev
e228ded589
Include form and multipart data in WebFlux.fn chapter
...
Issue: SPR-16547
7 years ago
Rossen Stoyanchev
a3d8c60aba
Restructure functional endpoints chapter
...
This commit restructures the existing content to separate out Overview
content into its own section, and also introduces more formal structure
where reference type content can be expanded over time.
Issue: SPR-16547
7 years ago
Rossen Stoyanchev
3653a37e27
Polish tests
7 years ago
Sam Brannen
107f8bb5fd
Polishing
7 years ago
Sam Brannen
00fea23e6b
Introduce test for WebTestClient with RegEx-based JsonPath
7 years ago
Juergen Hoeller
2a3f90dc7b
Upgrade to Hibernate ORM 5.2.15 and Hibernate Validator 6.0.8
7 years ago
Juergen Hoeller
df8061494c
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
7 years ago
Juergen Hoeller
cf74b1b8be
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
7 years ago
igor-suhorukov
58a5138f26
simplify lambda expression
7 years ago
igor-suhorukov
2f9d0a7de8
simplify boolean NOT operation
7 years ago
igor-suhorukov
d89f9af22d
parentheses should be removed from a single lambda input parameter when its type is inferred
7 years ago
igor-suhorukov
0c45c4c6a3
lamdbas containing only one statement should not nest this statement in a block
7 years ago
igor-suhorukov
6163f2d32f
use more modern java API for empty collections
7 years ago
igor-suhorukov
32b689a994
use StringBuilder for complex string concatenation
7 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
7 years ago
Brian Clozel
ed7684d2b2
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
7 years ago