- 19 7月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Ensure type-level Javadoc in every class, comply with guidelines for 80 char on Javadoc, and minor polish.
-
- 18 7月, 2016 1 次提交
-
-
由 Brian Clozel 提交于
The `WebClient` has a new exception hierarchy: * `WebClientException` is the root of all exceptions thrown by the `WebClient` * `WebClientResponseException` are all exceptions associated with specific HTTP response status codes * `WebClientErrorException` and `WebServerErrorException` are respectively for 4xx and 5xx HTTP status codes `ResponseExtractor` implementations are adapted to optionally throw exceptions if it's impossible to extract the relevant parts of the response (e.g. extracting the response body if the response is a 404). This commit also introduces `ResponseErrorHandler`s that take care of the whole exception mapping infrastructure. Since `WebClientResponseException`s provide the status, headers and response body, we also need a dedicated mechanism to extract information from the response body at that level. The `BodyExtractors` are responsible for extracting that information from the exception, given they are provided with all the information they need; in that case, message decoders are required. To convey all this new information downstream, the `WebClient` now wraps the message converters and response error handler instances into a dedicated `WebClientConfig` object.
-
- 16 7月, 2016 4 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14467
-
由 Sam Brannen 提交于
-
- 15 7月, 2016 7 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
-
由 fisache 提交于
Closes gh-1108
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
- Added Woodstox before Aalto in the spring-web build, so that Woodstox is used as StAX implementation, and not the less featured Aalto. - Hardcoded Aalto dependency in XmlEventDecoder, instead of relying on the StAX XMLInputFactory.
-
由 Rossen Stoyanchev 提交于
-
- 13 7月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures. Issue: SPR-14454
-
- 07 7月, 2016 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13188
-
由 Juergen Hoeller 提交于
-
- 06 7月, 2016 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
Issue: SPR-14432
-
- 05 7月, 2016 8 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-13188
-
由 Juergen Hoeller 提交于
Issue: SPR-14430
-
由 Juergen Hoeller 提交于
This commit also removes outdated support classes for Oracle, GlassFish, JBoss. Issue: SPR-14429
-
由 Juergen Hoeller 提交于
This commit also fixes broken javadoc links and code references. Issue: SPR-13188
-
由 Juergen Hoeller 提交于
This commit also removes the corresponding deprecated Servlet MVC variant and updates DispatcherServlet.properties to point to RequestMappingHandlerMapping/Adapter by default. Issue: SPR-14129
-
由 Juergen Hoeller 提交于
Issue: SPR-13189
-
由 Juergen Hoeller 提交于
Issue: SPR-14344
-
由 Juergen Hoeller 提交于
Issue: SPR-14422
-
- 01 7月, 2016 3 次提交
-
-
由 Stephane Nicoll 提交于
Closes gh-1097
-
由 Juergen Hoeller 提交于
Issue: SPR-14422
-
由 Juergen Hoeller 提交于
Issue: SPR-14420
-
- 29 6月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14412
-
- 28 6月, 2016 3 次提交
-
-
由 Stephane Nicoll 提交于
This commit adds a `ClientHttpRequestInterceptor` that applies a BASIC authorization header for each request. It can be used as follows: ``` BasicAuthorizationInterceptor basicAuthorization = new BasicAuthorizationInterceptor("user", "secret"); restTemplate.getInterceptors().add(basicAuthorization); ``` Issue: SPR-14412
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14405
-
由 Rossen Stoyanchev 提交于
As of 4.3 ResourceHttpRequestHandler delegates to the configured ContentNegotiationManager, or one created internally, to look up the media type for are resource. This commit ensures the internally created ContentNegotiationManager is correctly injected with the ServletContext through which it can perform lookups as before. Also the ServletPathContentNegotiationStrategy now checks the ServletContext first and then delegates to its parent the PathContentNegotiationStrategy and not vice versa. This is consistent with how handleNoMatch (also in the same class) works and also matches how ResourceHttpRequestHandler worked before 4.3. Issue: SPR-14368
-
- 27 6月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14406
-
- 18 6月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14372
-
- 15 6月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14358
-
- 09 6月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14347
-
- 08 6月, 2016 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14338
-
由 Juergen Hoeller 提交于
Issue: SPR-14291
-