Juergen Hoeller
e9626779ee
@Resource provides dependency descriptor for resolving beans by name
...
Closes gh-22359
2019-02-07 15:56:00 +01:00
Juergen Hoeller
5f4c461d4f
Documentation revision for @PostConstruct/PreDestroy and @Required
...
Closes gh-22348
2019-02-07 15:53:55 +01:00
Brian Clozel
ef8652615c
Log exception at ERROR level in CompositeLog
...
Fixes gh-22364
2019-02-06 19:58:41 +01:00
Sebastien Deleuze
d1e5a3af9f
Fix truncated Value#value javadoc
...
Closes gh-22331
2019-02-06 19:28:31 +01:00
Juergen Hoeller
9895e44d73
Polishing
2019-02-05 16:03:24 +01:00
Juergen Hoeller
643a68f81b
Detect existing jar URLs from URLClassLoader.getURLs()
...
Closes gh-22346
2019-02-05 16:02:50 +01:00
Juergen Hoeller
ac4525ddf8
Detect MariaDB as MySQL (for mariadb-java-client 2.4+ compatibility)
...
Closes gh-22344
2019-02-05 16:02:17 +01:00
Yoann Rodière
17caac8f1f
Add tests for SpringBeanContainer (Hibernate ORM integration) and fix the behavior when requesting named beans ( #22260 )
...
* Add integration tests for SpringBeanContainer (Hibernate ORM integration)
* Autowire bean properties of beans retrieved by name in SpringBeanContainer
* Add integration tests for fallback cases in SpringBeanContainer (Hibernate ORM integration)
* Fix SpringBeanContainer incorrectly losing the bean name when calling the fallback producer
(cherry picked from commit 00855c4f5f
)
2019-02-05 16:01:40 +01:00
Juergen Hoeller
165d2511b9
Upgrade to Apache HttpClient 4.5.7 and Commons FileUpload 1.4
...
Includes RxJava 2.2.6, Netty 4.1.33, Undertow 2.0.17.
2019-02-05 00:46:07 +01:00
Juergen Hoeller
d27bae245a
Polishing
2019-02-05 00:45:28 +01:00
Juergen Hoeller
0ebc020b21
Load-time weaving support for WildFly 13+ (JBoss Modules 1.8+)
...
Fixes gh-22297
2019-02-05 00:44:52 +01:00
Juergen Hoeller
59a9c8e004
MethodReference.MethodValueRef.setValue throws SpelEvaluationException
...
Closes gh-22336
2019-02-05 00:43:56 +01:00
Juergen Hoeller
ca7634dfe8
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
2019-02-05 00:42:24 +01:00
Juergen Hoeller
5eca512c46
Ref doc mentions SimpleTransactionScope next to SimpleThreadScope
...
Closes gh-22180
2019-02-05 00:41:53 +01:00
Stephane Nicoll
99da6e9723
Merge pull request #22337 from mhewedy
...
* pr/22337:
Polish "Fix use CompletableFuture in DeferredResultReturnValueHandlerTest"
Fix use CompletableFuture in DeferredResultReturnValueHandlerTest
2019-02-04 10:33:58 +01:00
Stephane Nicoll
1241c3b2d1
Merge pull request #22339 from vpavic
...
* pr/22339:
Polish "Improve spring-context-indexer documentation"
Improve spring-context-indexer documentation
2019-02-04 10:33:54 +01:00
Stephane Nicoll
7c62d7cfe2
Polish "Fix use CompletableFuture in DeferredResultReturnValueHandlerTest"
...
Closes gh-22337
2019-02-04 10:31:31 +01:00
Muhammad Hewedy
6507b09c7f
Fix use CompletableFuture in DeferredResultReturnValueHandlerTest
...
See gh-22337
2019-02-04 10:24:52 +01:00
Stephane Nicoll
229f354df1
Polish "Improve spring-context-indexer documentation"
...
Closes gh-22339
2019-02-04 10:22:43 +01:00
Vedran Pavic
43ea25e413
Improve spring-context-indexer documentation
...
See gh-22339
2019-02-04 10:17:34 +01:00
Rossen Stoyanchev
4560dc2818
Improve empty body check
...
Fixes gh-22265
2019-01-25 15:48:04 -05:00
Juergen Hoeller
d0033f12d0
ApplicationListenerMethodAdapter uses target method for order lookup
...
Fixes #22307
2019-01-25 15:44:43 +01:00
Juergen Hoeller
85ec9b9df2
Avoid Class.getPackage() in favor of plain Class.getName() checks
...
Fixes #22306
2019-01-25 15:35:49 +01:00
Arjen Poutsma
4732f83d70
Fix Java 9 Build
...
Fix Java 9 build by replacing deprecated method.
2019-01-24 15:44:58 +01:00
Juergen Hoeller
7cc700435b
HandlerMethod skips interface parameter introspection for return value
...
Fixes #22303
2019-01-24 15:18:55 +01:00
Juergen Hoeller
493e9c1ff0
Consistent upgrade to Rome 1.12 and WebJars Locator 0.36
2019-01-24 15:18:43 +01:00
Sam Brannen
edadb9efb6
Remove obsolete PetClinic Example section of Testing chapter
...
Issue: #22288
2019-01-23 16:40:21 +01:00
Rossen Stoyanchev
810b615471
Correct issus in Spring MVC section
...
Fixes #22282
2019-01-22 09:06:18 -05:00
Rossen Stoyanchev
51f9e0aaca
Typo in webmvc.adoc
2019-01-22 09:06:18 -05:00
Brian Clozel
d6aa589c50
Wrap DecodingException in DefaultServerRequest
...
Prior to this commit, Spring WebFlux function would let
`DecodingException` thrown by codecs bubble up to the web handler level.
Since this exception is not handled by default there, the response would
be turned into a HTTP 500 status.
In the annotation model, `ArgumentResolver` implementations wrap this
exception with a `ServerWebInputException`, which itself extends
`ResponseStatusException`. The latter is supported by the error handling
infrastructure as a HTTP 400 response.
This commit ensures that `DecodingException` instances are properly
wrapped in `ServerWebInputException` at the `ServerRequest` level
directly, thus supporting all setup modes ("standalone" and through the
`DispatcherHandler`).
Fixes #22290
2019-01-22 14:54:44 +01:00
Sebastien Deleuze
fc6cff53bb
Clarify documentation about JSON Views
...
This commit intends to clarify the documentation by avoiding confusion
between @JsonView and Spring MVC JSON views.
Fixes #22280
2019-01-22 10:51:25 +01:00
Rossen Stoyanchev
20f4022e7b
Correctly truncate logging of response body
...
Fixes #22287
2019-01-21 09:57:52 -05:00
Rossen Stoyanchev
020c537c03
Add note to CorsFilter section
...
Fixes #19841
2019-01-21 09:47:30 -05:00
Rossen Stoyanchev
e373b46660
Jackson2JsonDecoder tolerates null literal
...
Fixes #22042
2019-01-18 18:27:40 -05:00
Rossen Stoyanchev
5dcde9e7d7
Trim decoded SSE data
...
Fixes #22043
2019-01-18 18:13:58 -05:00
Rossen Stoyanchev
ef72ef54fa
Avoid NPE when setting warnLogCategory
...
Fixes #22159
2019-01-18 18:08:48 -05:00
Rossen Stoyanchev
a77eee899a
Document synchronous use of the WebClient
...
Fixes #22173
2019-01-18 17:46:16 -05:00
Rossen Stoyanchev
9837ec5904
Fix Javadoc typos
...
Closes #22261
2019-01-17 18:01:08 -05:00
Rossen Stoyanchev
bdac937a43
Replace more references to issue tracker
...
Fixes #22254
2019-01-17 17:08:39 -05:00
Sanghyuk Jung
6ca3884759
Update links to issue tracker
2019-01-17 16:44:41 -05:00
Rossen Stoyanchev
189e1afc6e
Use try-with-resources in documentation samples
...
Fixes #22269
2019-01-17 12:53:59 -05:00
Rossen Stoyanchev
d1862a26dd
Typo in web documentation
...
Fixes #22270
2019-01-17 12:27:00 -05:00
Brian Clozel
2b65d0e51f
Fix error when writing empty String to DataBuffer
...
Prior to this commit, `DataBuffer.write` would throw an
`IllegalStateException` when called with an empty `String`, since the
`CharsetEncoder` would be flushed on an incorrent state.
This commit skips entirely the encoding phase for empty `String`.
Fixes #22262
2019-01-17 11:09:48 -05:00
Arjen Poutsma
86fb43900e
Deprecate JiBX marshaller
...
Resolves #22249
2019-01-14 11:50:21 +01:00
Sam Brannen
e1e6224acb
Document effect of preemptive timeouts on transactional tests
...
Issue: SPR-17647
2019-01-09 16:38:47 +01:00
Sam Brannen
cf565067fe
Document effect of @DirtiesContext when used with constructor injection
...
Issue: SPR-17654
2019-01-09 15:43:41 +01:00
Sam Brannen
2159518252
Improve documentation for DI options in the TestContext framework
2019-01-09 15:43:31 +01:00
Spring Buildmaster
754ad4d0d3
Next Development Version
2019-01-09 12:43:27 +00:00
Juergen Hoeller
72dddfbc7b
Polishing
2019-01-09 12:26:58 +01:00
Rossen Stoyanchev
dc3f953f4b
Correction for commit #b219c6c
...
Issue: SPR-17630
2019-01-08 22:43:42 -05:00