- 10 2月, 2017 3 次提交
-
-
由 Brian Clozel 提交于
This commit reduces the exposition of `PathPattern` instances throughout the `HandlerMapping` API and removes some methods from its public API. Issue: SPR-14544
-
由 Rob Winch 提交于
We need to explicitly apply Dependency Management to the root project since it depends on modules that use dependency management. We need to ensure dependency management is applied after propdeps-maven to avoid an ordering issue [1] An update to propdeps was necessary to be compatable with Gradle 3.4+ [1] https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/149 Issue: SPR-15207
-
由 Arjen Poutsma 提交于
This commit reverses 9efa976d, and adds code comments to highlight why some Body[Inserter|Extractor] instances returned from Body[Inserters|Extractors] use ServerHttp[Request|Response] instead of using Reactive[Input|Output]Message.
-
- 09 2月, 2017 17 次提交
-
-
由 Arjen Poutsma 提交于
Ignoring JsonStreamingIntegrationTests for now, @sdeleuze is aware of the need to fix.
-
由 Stephane Nicoll 提交于
* pr/1322: Update copyright header Fix Javadoc in ContentResultMatchers
-
由 Stephane Nicoll 提交于
-
由 Masayasu Yamamoto 提交于
Closes gh-1322
-
由 Brian Clozel 提交于
Since the introduction of `PathPatternRegistry`, the various path match configuration flags are no longer needed in several places and that configuration can live in the registry itself. Issue: SPR-14544
-
由 Arjen Poutsma 提交于
Added cookies() method on ClientResponse, that exposes the response cookies. Issue: SPR-15236
-
由 Arjen Poutsma 提交于
This commit introduces the EntityResponse, an entity-specific subtype of ServerResponse that exposes the entity itself.
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
This commit adds the new `PathPatternRegistry`, which holds a sorted set of `PathPattern`s and allows for searching/adding patterns This registry is being used in `HandlerMapping` implementations and separates path pattern parsing/matching logic from the rest. Directly using `PathPattern` instances should improve the performance of those `HandlerMapping` implementations, since the parsing and generation of pattern variants (trailing slash, suffix patterns, etc) is done only once. Issue: SPR-14544
-
由 Brian Clozel 提交于
Issue: SPR-14544
-
由 Andy Clement 提交于
Without this change the /{*foobar} and /** path elements were not correctly enforcing that the first character they encounter must be a separator. This problem was introduced when adjusting the generated path element chains for these constructs. Originally the generated chain included a SeparatorPathElement but in order for these to match 'nothing' (i.e. /foo matches /foo/{*foobar}) the separator path element was removed, so the separator enforcement needed moving into the CaptureTheRestPathElement and WildcardTheRestPathElement. Issue: SPR-14544
-
由 Andy Clement 提交于
This commit introduces a PathPatternParser which parses request pattern strings into PathPattern objects which can then be used to fast match incoming string paths. The parser and matching supports the syntax as described in SPR-14544. The code is optimized around the common usages of request patterns and is designed to create very little transient garbage when matching. Issue: SPR-14544
-
由 Brian Clozel 提交于
Prior to this commit, WebFlux would look at the handler method annotations (`@ResponseStatus`) for each handler execution, even calling the expensive `synthesizeAnnotation`. This commit moves this logic to the InvocableHandlerMethod so that this executed once at instantiation time and for all result handlers. Issue: SPR-15227
-
由 Juergen Hoeller 提交于
Use Class.getTypeName() where appropriate
-
由 Violeta Georgieva 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Christoph Dreis 提交于
Issue: SPR-15237
-
- 08 2月, 2017 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Before this change the write Publisher was saved and Mono.empty() returned from the write metohd which did not properly implement the write contract since no writing ("consuming") was done. This can be a problem in some cases. For example the request may appear to succeed even if the publisher produces an error later when subscribed to later after request handling completes. This commit introduces a writeHandler function in the mock request and response. By default it "writes" by consuming the content immediately, which allows it to return a Mono<Void> that properly reflects when writing is done, and it also caches the data so it may be replayed later for test assertions. For streaming scenario a custom writeHandler may be registered which allows the custom handling to determine how long to stream before cancelling so request handling may complete. Issue: SPR-14590
-
- 07 2月, 2017 3 次提交
-
-
由 Andy Clement 提交于
Without this fix the compiled version of elvis actual behaved differently to the interpreted version if the value being queried was an empty string. This is now fixed. It also now correctly handles the query value being a primitive and addresses the findings of SPR-15192 where some type inferencing logic was trying to be too clever, that code has been deleted. Issue: SPR-15192
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
This commit introduces JSON streaming support which consists of serializing HTTP request with application/stream+json media type as line delimited JSON. It also optimize Flux serialization for application/json by using flux.collectList() and a single Jackson invocation instead of one call per element previous strategy. This change result in a x4 throughput improvement for collection with a lot of small elements. Issues: SPR-15095, SPR-15104
-
- 06 2月, 2017 5 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-14711
-
由 Stephane Nicoll 提交于
* pr/1292: Polish Polish contribution Honour ErrorHandler if `Cache.put` fails
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
Closes gh-1292 Issue: SPR-15188
-
由 David Brimley 提交于
This commit makes sure that the `ErrorHandler` is invoked if the cache fails to put an element (be it in the main cache or the exception cache). See gh-1292 Issue: SPR-15188
-
- 03 2月, 2017 11 次提交
-
-
由 Arjen Poutsma 提交于
This commit introduces the RenderingResponse, a template rendering-specific subtype of ServerResponse that exposes model and template data.
-
由 Stephane Nicoll 提交于
* pr/1311: Polish javadoc
-
由 Eitan Adler 提交于
Closes gh-1311
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
* pr/1312: Polish javadoc
-
由 Eitan Adler 提交于
Closes gh-1312
-
由 Sebastien Deleuze 提交于
-
由 Ryan Pickett 提交于
-
由 Rossen Stoyanchev 提交于
The base URI is ignored for requests that include a host. WebClient exposes UriBuilder (rather than UriBuilderFactory) for per-request URI building based on the base URI. That provides full control to add or replace components of the base URI.
-
由 Rossen Stoyanchev 提交于
Leave only one static, no-arg build() method for access to a Builder. URI-related preferences are now exposed on the builder itself. Improve Javadoc with base URI examples.
-
由 Juergen Hoeller 提交于
-