Rossen Stoyanchev
256f8549d0
Merge branch '5.1.x'
2019-03-11 09:23:23 -04:00
Rossen Stoyanchev
b343e73eb0
Add streaming responses to Spring MVC Test section
...
Closes gh-22544
2019-03-11 09:13:49 -04:00
Rossen Stoyanchev
620a898e60
Fix typo in documentation
...
See gh-22394
2019-03-11 08:42:23 -04:00
Sam Brannen
b109f140a7
Improve documentation for annotation filters with component scanning
...
Prior to this commit the documentation for annotation-based include and
exclude filters used with component scanning did not explicitly mention
the fact that annotations are considered a match if they are either
present or meta-present on candidate classes.
This commit improves the documentation in this regard.
See gh-22551
2019-03-09 16:30:30 +01:00
Juergen Hoeller
eeed20d8d9
Polishing
2019-03-05 18:25:36 +01:00
Juergen Hoeller
b2b0df893a
Merge branch '5.1.x'
2019-03-05 14:20:02 +01:00
Juergen Hoeller
216e4eeba4
General doc revision: configuration updates, consistent formatting etc
2019-03-05 13:08:34 +01:00
Juergen Hoeller
3eb1042a53
Revised AOP documentation: load-time weaving, CGLIB etc
...
Includes removal of outdated Spring 1.2/2.0 references.
Closes gh-22429
2019-03-05 13:08:24 +01:00
Sebastien Deleuze
9e873af6ab
Remove infix qualifier from ResultActionsDsl methods
...
The infix form limits the extensibility of the API and
prevents calling `andReturn()`.
See gh-1951
2019-03-04 19:17:21 +01:00
Sebastien Deleuze
0c332286f1
Add MockMvc Kotlin DSL
...
This commit introduces a `MockMvc` Kotlin DSL via a set of
extensions like `MockMvc.get` or `MockMvc.request`
that provide a Kotlin idiomatic and easily discoverable
API while staying close to the original Java API design.
Closes gh-1951
2019-03-04 18:00:49 +01:00
Sam Brannen
b7d60b9b89
Improve @EventListener documentation
2019-03-04 14:44:44 +01:00
Stephane Nicoll
45b6c0fcb5
Merge branch '5.1.x'
2019-03-04 09:42:10 +01:00
DamianChlod
fe458aabde
Fix typo in `my-property'
...
Closes gh-22500
2019-03-04 09:40:58 +01:00
Sam Brannen
9f751ef914
Polish contribution
...
See: gh-456
2019-02-22 19:19:59 +01:00
Adib Saikali
b4fc7b410b
Document that @Transactional is not supported on test lifecycle methods
...
This commit adds a tip clarifying that TestNG's @BeforeClass and
@BeforeSuite methods can not be annotated with Spring's @Transactional
annotation.
Closes: gh-456
2019-02-22 17:56:19 +01:00
Sebastien Deleuze
25d7f09f8d
Polishing
2019-02-18 14:50:27 +01:00
Sebastien Deleuze
caa1730169
Polishing
2019-02-18 14:13:51 +01:00
Sebastien Deleuze
19f792db66
Add Coroutines support for WebClient and WebFlux.fn
...
This commit is the first part of a more complete Coroutines
support coming in Spring Framework 5.2. It introduces suspendable
Kotlin extensions for Mono based methods in WebFlux classes like
WebClient, ServerRequest, ServerResponse as well as a Coroutines
router usable via `coRouter { }`.
Coroutines extensions use `await` prefix or `AndAwait` suffix,
and most are using names close to their Reactive counterparts,
except `exchange` in `WebClient.RequestHeadersSpec`
which translates to `awaitResponse`.
Upcoming expected changes are:
- Leverage `Dispatchers.Unconfined` (Kotlin/kotlinx.coroutines#972 )
- Expose extensions for `Flux` based API (Kotlin/kotlinx.coroutines#254 )
- Introduce interop with `CoroutineContext` (Kotlin/kotlinx.coroutines#284 )
- Support Coroutines in `ReactiveAdapterRegistry`
- Support Coroutines for WebFlux annotated controllers
- Fix return type of Kotlin suspending functions (gh-21058)
See gh-19975
2019-02-18 09:23:31 +01:00
Sam Brannen
c95ffe3db2
Merge branch '5.1.x'
2019-02-17 17:25:47 +01:00
Sam Brannen
7c65b57530
Polish Kotlin chapter
2019-02-17 17:22:04 +01:00
Sebastien Deleuze
175c27657e
Merge branch '5.1.x'
2019-02-17 10:39:15 +01:00
Sebastien Deleuze
ab32dc8937
Document checked exceptions with proxies in Kotlin
...
Closes gh-22412
2019-02-17 10:37:11 +01:00
Sebastien Deleuze
6089ec1161
Add a warning in Kotlin Script Templates documentation
2019-02-17 10:11:00 +01:00
Juergen Hoeller
6db75956b9
Merge branch '5.1.x'
2019-02-15 17:16:28 +01:00
Juergen Hoeller
c2bd229d4c
Clarify role of 'aware' callback interfaces
2019-02-15 17:06:03 +01:00
Sebastien Deleuze
9d0f97fa00
Merge branch '5.1.x'
2019-02-11 13:09:35 +01:00
Sebastien Deleuze
2a0a002bd3
Improve Kotlin documentation
...
Closes gh-22400
2019-02-11 13:08:04 +01:00
dzou
514f7e3328
Add link to Kotlin sample for Spring Cloud GCP
...
Closes gh-2070
2019-02-11 13:08:04 +01:00
Juergen Hoeller
7cde283066
Merge branch '5.1.x'
2019-02-07 23:07:22 +01:00
Juergen Hoeller
15af0d9787
Polishing
2019-02-07 23:02:35 +01:00
Juergen Hoeller
0b617a8c93
Deprecate PreferencesPlaceholderConfigurer along with its base class
...
Also removing common PropertyPlaceholderConfigurer doc references.
See gh-22181
2019-02-07 16:53:05 +01:00
Juergen Hoeller
d25783329a
Merge branch '5.1.x'
2019-02-07 16:01:14 +01:00
Juergen Hoeller
5f4c461d4f
Documentation revision for @PostConstruct/PreDestroy and @Required
...
Closes gh-22348
2019-02-07 15:53:55 +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
e402a93e41
Merge branch '5.1.x'
2019-02-04 10:34:40 +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
Sam Brannen
83d06b8f4e
Merge branch '5.1.x'
2019-01-23 16:45:10 +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
155ef5fd77
Merge branch '5.1.x'
2019-01-22 12:04:09 -05: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
Sebastien Deleuze
81ec1d8284
Merge branch '5.1.x'
2019-01-22 10:55:06 +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
f6c16815b4
Merge branch '5.1.x'
2019-01-21 10:00:15 -05:00
Rossen Stoyanchev
020c537c03
Add note to CorsFilter section
...
Fixes #19841
2019-01-21 09:47:30 -05:00
Rossen Stoyanchev
b0a3a6f79f
Merge branch '5.1.x'
2019-01-18 18:29:39 -05:00
Rossen Stoyanchev
a77eee899a
Document synchronous use of the WebClient
...
Fixes #22173
2019-01-18 17:46:16 -05:00
Rossen Stoyanchev
2a57b40515
Merge branch '5.1.x'
2019-01-17 17:13:30 -05:00
Rossen Stoyanchev
bdac937a43
Replace more references to issue tracker
...
Fixes #22254
2019-01-17 17:08:39 -05:00