- 12 7月, 2017 1 次提交
-
-
由 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 17 次提交
-
-
由 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.
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15747
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15753
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
PathContainer now has separate parsePath and parseUrlPath methods each creating PathSegment and UrlPathSegment respectively.
-
由 Rossen Stoyanchev 提交于
Segment.value() now returns the actual original path segment value including path parameters while semicolonContent() is removed. valueDecoded() is renamed to valueToMatch() to reflect it is the value for pattern matching which is not only decoded but also has path parameters removed.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Currently the URI path is always treated as UTF-8 so we can eliminate the encoding parameter from RequestPath#parse.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-15757
-
- 10 7月, 2017 3 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-15748
-
由 Juergen Hoeller 提交于
Issue: SPR-15752
-
由 Rossen Stoyanchev 提交于
-
- 08 7月, 2017 5 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-15154
-
由 Juergen Hoeller 提交于
Issue: SPR-15738
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
Includes page-level JSTL time zone support for JSP tags. Issue: SPR-15720 Issue: SPR-15746
-
- 07 7月, 2017 10 次提交
-
-
由 Sam Brannen 提交于
-
由 Arjen Poutsma 提交于
This commit makes the `uri` step of the WebTestClient optional, so that users who have specified a base URL during WebClient config do not need to provide an empty one (i.e. `url("")`). Issue: SPR-15695
-
由 Arjen Poutsma 提交于
This commit makes the `uri` step of the WebClient optional, so that users who have specified a base URL during WebClient config do not need to provide an empty one (i.e. `url("")`). The basic idea of this fix is that the HTTP method methods in WebClient (`get`, `post`, etc.) should be able to "bypass" the uri stage, and skip straight to defining headers, or even doing an exchange or retrieve (i.e. call methods on `RequestHeaderSpec` or `RequestBodySpec`). I have accomplished this by adding two new composed interfaces: `RequestHeadersUriSpec` and `RequestBodyUriSpec`. `RequestHeadersUriSpec` extends from the existing `UriSpec` and `RequestHeaderSpec`, while `RequestBodyUriSpec` extends from `UriSpec` and `RequestBodySpec`. These types are returned from the HTTP methods (`get`, `post` etc). The `uri` methods on these types return a plain `RequestHeaderSpec` and `RequestBodySpec` (i.e. types without the `uri` methods), so that you can call `uri` once only. Issue: SPR-15695
-
由 Sam Brannen 提交于
This commit introduces integration tests which verify that the SpringExtension can be used in conjunction with JUnit Jupiter's @ParameterizedTest support.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Arjen Poutsma 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Renato Soppelsa 提交于
Issue: SPR-15742
-
由 Rossen Stoyanchev 提交于
Issue: SPR-15744
-
- 06 7月, 2017 4 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Explicitly pass the client-side JSR-356 WebSocketContainer to the TomcatWebSocketClient to prevent the ContainerProvider from finding the one from undertow-websockets-jsr through the ServiceLoader API.
-
由 Arjen Poutsma 提交于
This commit disables the "failOnServerError" feature on the `HttpClientRequest`, as wrapped by ReactorClientHttpRequest. 5xx errors are supposed to be dealt with in the WebClient, not in the lower-level components. Issue: SPR-15739
-