- 31 8月, 2016 6 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14635
-
由 Juergen Hoeller 提交于
Issue: SPR-14642
-
由 Rossen Stoyanchev 提交于
This commit updates the instructions on getting started with Spring Web Reactive and also updates constructors and setters to streamline the getting started procedure. Issue: SPR-14640
-
由 Rossen Stoyanchev 提交于
This is a follow-up on commit 3b95e0b6 relaxing the expectation that a ServletContext is present. Instead we check defensively and fall back on PathExtensionContentNegotiationStrategy which can use JAF. Issue: SPR-14577
-
- 30 8月, 2016 12 次提交
-
-
由 Artem Yakshin 提交于
Update tutorial for import and build project in IntelliJ IDEA 2016.2.2. Steps are outdated and existing issues is not applicable in new versions.
-
由 Rossen Stoyanchev 提交于
Create an explicit heartbeat task with an experiration flag so that it can be cancelled reliably vs relying on the ScheduledFutureTask cancel method which may return true even if the task is already running. Issue: SPR-14356
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14638
-
由 Brian Clozel 提交于
Prior to this commit, exceptions thrown by the `HandlerMethodArgumentResolver` would be wrapped into `IllegalStateException`s. This commit makes sure that a DEBUG log is written with the relevant information and that the root cause is not wrapped into another exception, so that the appropriate `ExceptionHandler` can be used to deal with this error. Issue: SPR-14618
-
由 Sebastien Deleuze 提交于
This commit adds Smile and CBOR Jackson HttpMessageConverters and make it possible to create Smile and CBOR ObjectMapper via Jackson2ObjectMapperBuilder, which now allows to specify any custom JsonFactory. Like with JSON and XML Jackson support, the relevant HttpMessageConverters are automaticially configurered by Spring MVC WebMvcConfigurationSupport if jackson-dataformat-smile or jackson-dataformat-cbor dependencies are found in the classpath. Issue: SPR-14435
-
由 Stephane Nicoll 提交于
This commit upgrades the SonarQube plugin so that it is compatible with Gradle 3. Issue: SPR-14569
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14568
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14577
-
- 29 8月, 2016 10 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-14586
-
由 Sam Brannen 提交于
Prior to this commit, the DisabledIfCondition did not trim whitespace from expressions configured via @DisabledIf. Consequently, results such as " true " would evaluate to "false". This commit fixes this problem by trimming all expressions configured via @DisabledIf. Issue: SPR-14614
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit introduces tests for DisabledIfCondition that verify actual condition evaluation results and exception handling; whereas, the existing tests in DisabledIfTestCase only test the "happy paths" and standard cases. Issue: SPR-14614
-
由 Sam Brannen 提交于
This commit ensures that a user provides a non-empty expression in declarations of @DisabledIf. Issue: SPR-14614
-
由 Juergen Hoeller 提交于
Issue: SPR-14636
-
由 Juergen Hoeller 提交于
Issue: SPR-13188
-
由 Sam Brannen 提交于
* ttddyy-SPR-14614: Revise @DisabledIf support for JUnit Jupiter Introduce @DisabledIf annotation for JUnit 5
-
由 Sam Brannen 提交于
- Extracted stand-alone DisabledIfCondition from the SpringExtension so that the condition is only evaluated when necessary. - Simplified implementation of DisabledIfCondition. - Overhauled and extended logging in DisabledIfCondition. - DisabledIfCondition now throws an IllegalStateException if @DisabledIf is not present on the test element or if the expression does not evaluate to a String or Boolean. - Each generated ConditionEvaluationResult now includes the actual expression in the default reason. - @DisabledIf is now auto-configured to be evaluated by the DisabledIfCondition since it is now meta-annotated with @ExtendWith(DisabledIfCondition.class) - Overhauled documentation for @DisabledIf and provided standard examples as well as an @DisabledOnMac annotation to demonstrate support for custom composed annotations. Issue: SPR-14614
-
由 Tadaya Tsuyukubo 提交于
This commit introduces @DisabledIf annotation that takes SpEL as a condition. The condition is evaluated at run time whether to disable JUnit 5 (Jupiter) test method/class. Issue: SPR-14614
-
- 28 8月, 2016 1 次提交
-
-
由 Stephane Nicoll 提交于
-
- 27 8月, 2016 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-14632
-
由 Juergen Hoeller 提交于
(cherry picked from commit 430180aa)
-
- 26 8月, 2016 9 次提交
-
-
由 Brian Clozel 提交于
When using a `RestTemplate` instance within a Spring MVC application, client exceptions may propagate in the MVC stack and can be wrongly mapped by server `ExceptionHandlers`, leading to a wrong HTTP response sent to the MVC client. The `RestTemplate` instance uses `HttpMessageConverter` to decode the remote service responses; and when those fail decoding an HTTP response, they can throw an `HttpMessageNotReadableException`. That exception then bubbles up through the `HttpMessageConverterExtractor`, `RestTemplate` and the whole MVC stack, later mapped to HTTP 400 responses, since those exceptions can also be throws by the server stack when the incoming requests can't be deserialized. This commit wraps all `IOException` and `HttpMessageNotReadableException` instances thrown by the extractor into `RestClientException`` instances. It's now easier to consistently handle client exceptions and avoid such edge cases. Issue: SPR-13592
-
由 Rossen Stoyanchev 提交于
This change adds support for a target type in JsonPath assertions in Spring MVC Test. The existing assertValue(String expression, Object expectedValue) transparently falls back on using an alternative JsonPath API that allows specifying the target type to coerce to. There is also a new overloaded method assertValue(String expression, Matcher<T> matcher, Class<T> targetType) for use with Hamcrest matchers where the target type can be specified. Issue: SPR-14498
-
由 Brian Clozel 提交于
HttpEntityMethodProcessor should not throw IllegalArgumentExceptions for invalid If-None-Match headers. For those cases, this commit makes sure that both `HttpEntityMethodProcessor` and `ServletWebRequest` have a consistent behavior and stop processing the request as conditional and leave the handler handle it. Issue: SPR-14559
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14492
-
由 Brian Clozel 提交于
This reverts commit bbd59939.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
This commit also sets the test source encoding to UTF-8. Issue: SPR-14547
-
由 Brian Clozel 提交于
-