- 21 9月, 2016 8 次提交
-
-
由 Spring Buildmaster 提交于
-
由 Juergen Hoeller 提交于
-
由 Brian Clozel 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Brian Clozel 提交于
This commit adds a new chain-based, interception contract to be used with `WebClient`. This is the HTTP client equivalent of the `WebFilter` contract already implemented in web reactive server. A `ClientHttpRequestInterceptor` implementation can transform the outgoing HTTP request (method, URI or headers) before delegating it to the next interceptor in the chain, or bypass the request processing altogether and return a (cached) HTTP response. Issue: SPR-14502
-
由 Brian Clozel 提交于
-
- 20 9月, 2016 11 次提交
-
-
由 Sebastien Deleuze 提交于
This commit also removes the ServerHttpResponse parameter, not needed here since it is possible to override the write() method. Issue: SPR-14557
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
This commit handles range requests in `ResourceWebHandler`, using the `ResourceHttpMessageWriter` configured within the handler. This `WebHandler` will add a `HTTP_RANGE_REQUEST_HINT` writer hint containing all the HTTP Range information of the request. Issue: SPR-14664
-
由 Brian Clozel 提交于
This new `HttpMessageWriter` leverages the `ResourceRegionEncoder` to write `ResourceRegion` to HTTP responses, thus supporting HTTP Range requests. Whenever possible, this message writer uses the zero copy support for single range requests. This `HttpMessageWriter` is never used directly, but is used as a delegate by the `ResourceHttpMessageWriter`. When provided with the `BOUNDARY_STRING_HINT`, the `ResourceRegionHttpMessageWriter` adapts its behavior in order to write a single/multiple byte ranges. Issue: SPR-14664
-
由 Brian Clozel 提交于
This commit adds the necessary infrastructure for the support of HTTP Range requests. The new `ResourceRegionEncoder` can write `ResourceRegion` objects as streams of bytes. The `ResourceRegionEncoder` relies on an encoding hint `BOUNDARY_STRING_HINT`. If present, the encoder infers that multiple `ResourceRegion`s should be encoded and that the provided boundary String should be used to separate ranges by mime boundaries. If that hint is absent, only a single resource region is encoded. Issue: SPR-14664
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
This commit makes it possible, in addition to provide hints, to perform additional operations with the request and the response at ServerHttpMessageReader/Writer level. AbstractServerHttpMessageReader/Writer now provide convenient beforeRead/beforeWrite abstract methods for such need. Issue: SPR-14557
-
由 Sebastien Deleuze 提交于
Issue: SPR-14557
-
由 Arjen Poutsma 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14735
-
由 Juergen Hoeller 提交于
-
- 19 9月, 2016 10 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Rossen Stoyanchev 提交于
Resetting the connection first before invoking a failure callback on the application handler ensures that any checks to isConnected will return false. Issue: SPR-14721
-
由 Stephane Nicoll 提交于
* pr/1180: Polish Documentation formatting fix
-
由 Stephane Nicoll 提交于
-
由 Krzysztof Kosmatka 提交于
Removed unnecessary quotation marks that caused improper rendering of in-line code. Closes gh-1180
-
由 Stephane Nicoll 提交于
* pr/1181: Add missing quotation mark
-
由 Krzysztof Kosmatka 提交于
Closes gh-1181
-
由 Arjen Poutsma 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14728
-
由 Juergen Hoeller 提交于
Issue: SPR-14729 (cherry picked from commit ca17edd5)
-
- 18 9月, 2016 1 次提交
-
-
由 Brian Clozel 提交于
This commit overrides the `checkResource` implementation in `ScriptTemplateView` in order to check if the template file resource is available and if the resolver can then proceed with rendering the template. Issue: SPR-14729 Cherry-picked from: 66b370e1
-
- 17 9月, 2016 10 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
In order to simplify configuration for use cases involving @Bean where only a bean name or aliases are supplied as an attribute, this commit introduces a new 'value' attribute that is an @AliasFor 'name' in @Bean. Issue: SPR-14728
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
Refactor BodyInsertor to expose insertion logic directly, rather than exposing a writer function and supplier.
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
Fixed package tangle between w.r.f.RequestPredicates and w.r.f.support.RequestWrapper.
-
由 Rossen Stoyanchev 提交于
-
由 Violeta Georgieva 提交于
Issue: SPR-14538
-
由 Brian Clozel 提交于
-
由 Rob Winch 提交于
Issue: SPR-14682
-