- 14 7月, 2017 9 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15770
-
由 Juergen Hoeller 提交于
Issue: SPR-15769
-
由 Juergen Hoeller 提交于
Issue: SPR-15720
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15758
-
由 Rossen Stoyanchev 提交于
-
由 Arjen Poutsma 提交于
This commit introduces overloaded variants of `bodytoMono`, `bodyToFlux`, `toEntity`, and `toEntityList` that take a `ParameterizedTypeReference`. It also adds similar methods to `WebClient.ResponseSpec`. Issue: SPR-15725
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-15720
-
- 13 7月, 2017 11 次提交
-
-
由 Sebastien Deleuze 提交于
This binary format more efficient than JSON should be useful for server to server communication, for example in micro-services use cases. Issue: SPR-15424
-
由 Juergen Hoeller 提交于
Issue: SPR-15757
-
由 Juergen Hoeller 提交于
Issue: SPR-15766 (cherry picked from commit c9ffa641)
-
由 Juergen Hoeller 提交于
Issue: SPR-15763 (cherry picked from commit aa0d7a61)
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15758
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-15763
-
由 Juergen Hoeller 提交于
Issue: SPR-15760
-
由 Rossen Stoyanchev 提交于
Avoid re-using the WriteBarrier as the Subscription to both the completionSubscriber and the writeSubscriber. Instead DownstreamBridge is now called WriteCompletionBarrier and is both a Subscriber and Subscription, i.e. handles all signals to and from the completion Subscriber. This frees the request method implementation in WriteBarrier to assume it can only be called by the writeSubscriber and hence it's safe to pass on request signals to the write source outside the synchronized block.
-
由 Arjen Poutsma 提交于
This commit introduces a boolean `readOnly` flag in `HttpHeaders`, which is used to check if creating a new `HttpHeaders` instance is necessary in `readOnlyHttpHeaders`.
-
- 12 7月, 2017 14 次提交
-
-
由 Stephane Nicoll 提交于
* pr/1469: Polish contribution Use dedicated addAdvisors
-
由 Stephane Nicoll 提交于
Closes gh-1469
-
由 军伟@ 提交于
See gh-1469
-
由 Stephane Nicoll 提交于
* pr/1465: Fix typo
-
由 Alan Hong 提交于
closes gh-1465
-
由 Sebastien Deleuze 提交于
As a follow-up of the ApplicationContext Kotlin extensions, close to the Kotlin functional WebFlux DSL and partially inspired of the Groovy/Scala bean configuration DSL, this commit introduces a lightweight Kotlin DSL for functional bean declaration. It allows declaring beans as following: beans { bean<Foo>() profile("bar") { bean<Bar>("bar", scope = Scope.PROTOTYPE) } environment({ it.activeProfiles.contains("baz") }) { bean { Baz(it.ref()) } bean { Baz(it.ref("bar")) } } } Advantages compared to Regular ApplicationContext API are: - No exposure of low-level ApplicationContext API - Focused DSL easier to read, but also easier to write with a fewer entries in the auto-complete - Declarative syntax instead of functions with verbs like registerBeans while still allowing programmatic registration of beans if needed - Such DSL is idiomatic in Kotlin - No need to have an ApplicationContext instance to write how you register your beans since beans { } DSL is conceptually a Consumer<GenericApplicationContext> This DSL effectively replaces ApplicationContext Kotlin extensions as the recommended way to register beans in a functional way with Kotlin. Issue: SPR-15755
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
This commit introduces an apply method to `WebClient.Builder`, allowing users to make multiple changes to the builder in one consumer. Issue: SPR-15743
-
由 Rossen Stoyanchev 提交于
The failures look like older failures possibly exposed by recent changes in Reactor. The one in ViewResolutionResultHandler is very old test error. The one in Jackson2JsonDecoderTests is more recent but went unreported.
-
由 Rossen Stoyanchev 提交于
WriteBarrier acts as Subscription to both completionSubscriber and writeSubscriber so the request method needs to be careful not to pass on the request outside of readyToWrite or writeSubscriber checks.
-
由 Rossen Stoyanchev 提交于
1. Group by contract 2. Follow lifecycle -- Subscriber 1st, Subscription 2nd, Publisher last 3. Order of declaration in implemented contracts
-
由 Rossen Stoyanchev 提交于
-
由 Stephane Maldini 提交于
Add support for CoreSubscriber context passing
-
由 Rossen Stoyanchev 提交于
ContentNegotiationManagerFactoryBean now provides an option to explicitly set the strategies to use vs customizing a fixed list of default strategies. Issue: SPR-11114
-
- 11 7月, 2017 6 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15649
-
由 Arjen Poutsma 提交于
This commit moves `toEntity(Class<T>)` and `toEntityList(Class<T>)` from WebClient.ResponseSpec to ClientResponse. The main reason for doing so is that the newly introduced `onStatus` method (see 2f9bd6e0) does not apply to these two methods, and the result would be confusing. Also, `ClientResponse` and `ResponseEntity` represent the same data: status code, headers, and a body. Issue: SPR-15724
-
由 Arjen Poutsma 提交于
This commit introduces an ExchangeFilterFunction that throws an exception given a HTTP status predicate. Issue: SPR-15724
-
由 Arjen Poutsma 提交于
This commit introduces a way to customize the WebClientExceptions, as thrown by WebClient.ResponseSpec.bodyTo[Mono|Flux]. The first customization will override the defaults, additional customizations are simply tried in order. Issue: SPR-15724
-
由 Arjen Poutsma 提交于
This commit adds the attribute(String) convenience method to the ClientRequest class. It also adapts the Basic Authentication filter to use it.
-
由 Arjen Poutsma 提交于
This commit changes `ServerRequest.attribute(String)`` to return `Optional<Object>` instead of `Optional<T>`, where `T` was infered from a type parameter.
-