Brian Clozel
bf3fe93dbd
Do not mention deprecated Reactive Boot starter
...
There's an officially supported Spring WebFlux starter now in Spring
Boot, so all mentions to the experimental starter are now removed.
2017-04-14 19:22:46 +02:00
Brian Clozel
a8d785b87f
Move RxNetty support to test scope
...
The RxNetty runtime support is not meant to be officially supported and
should be restricted to testing purposes only.
Issue: SPR-15444
2017-04-14 19:18:42 +02:00
Sebastien Deleuze
005e85b0f5
Update to latest Reactor 3.1 API changes
...
Issue: SPR-15318
2017-04-14 13:18:20 +02:00
Stephane Nicoll
135651de9a
Merge pull request #1387 from michael-simons:SPR-15449
...
* pr/1387:
Polish "Improve unless condition in caching doc"
Improve unless condition in caching doc
2017-04-13 17:50:35 +02:00
Stephane Nicoll
7084bc293a
Polish "Improve unless condition in caching doc"
...
Closes gh-1387
2017-04-13 17:50:11 +02:00
Michael J. Simons
b426d847e6
Improve unless condition in caching doc
...
See gh-1387
2017-04-13 17:48:00 +02:00
Stephane Nicoll
37d0db1615
Merge pull request #1386 from michael-simons:SPR-15448
...
* pr/1386:
Polish condition in caching examples
2017-04-13 17:46:11 +02:00
Michael J. Simons
33fd94c098
Polish condition in caching examples
...
Closes gh-1386
2017-04-13 17:45:03 +02:00
Juergen Hoeller
0b118322b0
Polishing
2017-04-13 16:17:05 +02:00
Rossen Stoyanchev
46a790f9be
Remove EmitterProcessor#connect (dropped upstream)
2017-04-13 09:58:48 -04:00
Sebastien Deleuze
dce72e0ad0
Change Mono#then to Mono#flatMap in documentation
...
Issue: SPR-15318
2017-04-13 15:37:27 +02:00
Sebastien Deleuze
e3fae2716e
Rename Mono#otherwise[Empty] to switch[onError/IfEmpty]
...
Issue: SPR-15318
2017-04-13 15:36:34 +02:00
Juergen Hoeller
cec36fe784
Configurable locale/timezone attribute name for SessionLocaleResolver
...
Issue: SPR-15450
2017-04-13 13:07:54 +02:00
Arjen Poutsma
dc279d839b
Use refactored CodecConfigurer
...
This commit changes the `HandlerStrategies` and `ExchangeStrategies`
builders to use the `CodecConfigurer` for configuring Decoder|Encoder
and HttpMessage[Reader|Writer]. Other classes that use `CodecConfigurer`
have also been changed to reflect the refactoring to interfaces.
This commit also removes the ExchangeStrategies methods that take an
application context, as it was too naive approach to simply look up
every message reader and writer in the context.
Issue: SPR-15415, SPR-15435
2017-04-13 11:02:29 +02:00
Arjen Poutsma
908d16904f
Refactor CodecConfigurer
...
This commit refactors the CodecConfigurer, with it's subtypes
ServerCodecConfigurer and ClientCodecConfigurerTests, into interfaces
instead of classes.
2017-04-13 11:02:17 +02:00
Rossen Stoyanchev
fce8ed62ce
Update @ControllerAdvice Javadoc
...
Issue: SPR-15432
2017-04-12 17:51:36 -04:00
Juergen Hoeller
9e55e8f8a6
Polishing
2017-04-12 18:07:14 +02:00
Juergen Hoeller
a55a0f26cb
FreeMarkerConfigurationFactory falls back to SpringTemplateLoader on any exception
...
Issue: SPR-15445
2017-04-12 18:06:37 +02:00
Juergen Hoeller
4838f06d5d
ASM annotation visitor logs IllegalAccessException at debug level only
...
Issue: SPR-15442
2017-04-12 18:05:30 +02:00
Sam Brannen
fcdf3900b9
Add dependency on JUnit Vintage TestEngine for IDEA
...
This commit introduces an explicit dependency on the latest JUnit
Vintage TestEngine so that it overrides whatever is bundled by
default in IntelliJ IDEA.
This allows for a more seamless upgrade to newer versions of JUnit 5 and
the JUnit Platform before IDEA has been officially updated to support
those versions, while simultaneously allowing developers to continue
to execute JUnit 4 based tests within IDEA.
2017-04-12 17:21:56 +02:00
Juergen Hoeller
093e573ace
ASM annotation visitor defensively accesses enum constants
...
Issue: SPR-15442
2017-04-12 15:36:18 +02:00
Juergen Hoeller
1735ba22cb
ShadowingClassLoader can be constructed without default excludes
...
Issue: SPR-15439
2017-04-12 15:34:50 +02:00
Sebastien Deleuze
d12d5f3455
Upgrade to Kotlin 1.1.2-eap-69
2017-04-12 11:04:11 +02:00
Rossen Stoyanchev
779779de7b
Refactor use of TaskScheduler in WebSocket Java config
...
Issue: SPR-15233
2017-04-11 17:41:41 -04:00
Rossen Stoyanchev
190408d1dc
Polish
2017-04-11 15:08:39 -04:00
Sebastien Deleuze
4d9144132e
Upgrade to Reactor Core 3.1
...
Issue: SPR-15318
2017-04-11 18:13:04 +02:00
Rossen Stoyanchev
f963367484
Merge pull request #1362 from romeara/SPR-15367
2017-04-11 11:55:10 -04:00
Rossen Stoyanchev
49ac6d54f7
Apply default content type change to WebFlux
...
Issue: SPR-15367
2017-04-11 11:54:40 -04:00
Rossen Stoyanchev
043c7070e3
Polish default content type change
...
Issue: SPR-15367
2017-04-11 11:54:40 -04:00
Ryan O'Meara
4a890226ea
Support for multiple default content types
...
Enhance FixedContentNegotiationStrategy and places where it is exposed
to also accept a list of media types.
Issue: SPR-15367
2017-04-11 11:54:40 -04:00
Sam Brannen
95e78b16f7
Clean up warnings in spring-test
2017-04-11 17:53:44 +02:00
Sam Brannen
987421c880
Add dependency on JUnit Platform Launcher for IDEA
...
This commit introduces an explicit dependency on the latest JUnit
Platform Launcher API so that it overrides whatever is bundled by
default in IntelliJ IDEA.
This allows a more seamless upgrade to newer versions of JUnit 5 and
the JUnit Platform before IDEA has been officially updated to support
those versions.
2017-04-11 17:45:06 +02:00
Juergen Hoeller
b061556f68
LogFactory enforces lazy resolution of non-String messages for SLF4J as well
...
Issue: SPR-14512
2017-04-11 15:39:17 +02:00
Juergen Hoeller
7f162a033b
AbstractGenericHttpMessageConverter calls two-arg variants of canRead/canWrite again
...
Issue: SPR-15434
2017-04-11 15:37:56 +02:00
Sebastien Deleuze
9a501fac46
Fix failing tests
...
Issue: SPR-14925
2017-04-11 14:00:31 +02:00
Rossen Stoyanchev
e33f603f68
Revert (recently added) cookie set header flags
...
Issue: SPR-15225
2017-04-11 07:19:07 -04:00
Rossen Stoyanchev
5d92a85fcb
Mock Servlet request/response support Accept-Language
...
Issue: SPR-15209
2017-04-11 07:19:07 -04:00
Rossen Stoyanchev
3393c10d79
Refactor HttpHeaders "Accept-Language" with Locale
2017-04-11 07:19:07 -04:00
Sebastien Deleuze
23e35c0e1a
Handle Jackson InvalidDefinitionException with 5xx status in WebFlux
...
Issue: SPR-14925
2017-04-11 12:39:09 +02:00
Juergen Hoeller
c4e0d6c2a2
UnknownHostException as resource-not-found for properties files
...
Plus first-class declaration of FileNotFoundException in Resource javadoc.
Issue: SPR-15433
2017-04-11 11:45:30 +02:00
Juergen Hoeller
ce4eff321c
Optimize StringUtils.replace for larger replacement pattern
...
Issue: SPR-15430
2017-04-11 11:40:50 +02:00
Arjen Poutsma
ac27dbea4b
Use ServerCodecConfigurer in HandlerStrategies
...
This commit changes the `HandlerStrategies` builder to use
`ServerCodecConfigurer` for configuring Decoder|Encoder and
HttpMessage[Reader|Writer]. Note that the configurer is not exposed
directly, but wrapped so that `HandlerStrategies` can keep on returning
`this` for a proper builder pattern.
This commit also removes the HandlerStrategies methods that take an
application context, as it was too naive approach to simply look up
every message reader and writer in the context.
Issue: SPR-15415
2017-04-11 11:01:27 +02:00
Arjen Poutsma
870e1897b6
Javadoc
2017-04-11 11:01:27 +02:00
Arjen Poutsma
82e864b217
Polishing
...
- Renamed `defaultCodec` to `defaultCodecs`, and `customCodec` to
`customCodecs`
- Added `@Override` annotations where necessary
- Fixed non-parameterized usage for parameterized types.
2017-04-11 11:01:27 +02:00
Juergen Hoeller
3a1d431c7d
Optimize StringUtils.replace/deleteAny for common no-op case
...
Issue: SPR-15430
2017-04-11 10:11:54 +02:00
Juergen Hoeller
7fbc20e225
Undeprecate TypeVariableMap methods on GenericTypeResolver
...
Issue: SPR-15429
2017-04-11 10:09:09 +02:00
Sam Brannen
42420a2df7
Generate “Use” links in Spring API JavaDoc
...
This commit enables the `-use` javadoc flag so that class usage pages
are included in the generated JavaDoc.
Issue: SPR-15427
2017-04-11 00:11:44 +02:00
Rossen Stoyanchev
e5fc40a9de
MockHttpSevlet[Request|Response] set cookie headers
...
Issue: SPR-15225
2017-04-10 17:37:11 -04:00
Rossen Stoyanchev
4da4f2be31
Async support in MockMvcClientHttpRequestFactory
...
Issue: SPR-15181
2017-04-10 15:28:44 -04:00
Sam Brannen
f5fe3f0f97
Upgrade to Gradle 3.5
...
Issue: SPR-15383
2017-04-10 21:22:04 +02:00