- 12 9月, 2016 1 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-14557
-
- 10 9月, 2016 8 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13965
-
由 Juergen Hoeller 提交于
HibernateTemplate reflectively calls getNamedQuery (for runtime compatibility with Hibernate 5.0/5.1 vs 5.2) Issue: SPR-14676
-
由 Juergen Hoeller 提交于
Issue: SPR-14672
-
由 Stephane Nicoll 提交于
* pr/1165: Fix typo
-
由 nkjackzhang 提交于
There is no attribute named `path` in `@RequestParam`, so I change it to `name`. Closes gh-1165
-
由 Brian Clozel 提交于
This commit changes the default file extension configured with `AppCacheManifestTranformer`. This ResourceTransformer was previously considering `.manifest` files by default, but this has been changed in the official spec to `appcache`, in order not to clash with Microsoft's unregistered application/manifest type. Issue: SPR-14687
-
由 Brian Clozel 提交于
`ResolvedResource` is a rather generic name - changing the extended interface to something more meaningful: `HttpResource`. For now, implementations are linked with the resource handling chain, but this aspect has been removed from the interface documentation. Issue: SPR-14264
-
由 Sam Brannen 提交于
-
- 09 9月, 2016 5 次提交
-
-
由 Arjen Poutsma 提交于
* spock_model_and_view: Fix using system default charset in view rendering Changed View.render method to take Map<String, ?>
-
由 Arjen Poutsma 提交于
Prior to this commit, FreeMarkerView used the system default charset to render. This commit switches this by defaulting to UTF-8, if no charset is specified in the content type. - Add contentType parameter to AbstractView.renderInternal, used to determine the charset contained therein - Adds a defaultCharset property to AbstractView and ViewResolverSupport.
-
由 Arjen Poutsma 提交于
Changed View's render method from taking a HandlerResult to taking a Map<String, ?>, in order to facilitate scenarios where a HandlerResult is not available (i.e. web.reactive.function).
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
- Changed Response.sse methods to allow for specific Publisher types to be returned in Response.
-
- 08 9月, 2016 1 次提交
-
-
由 Sebastien Deleuze 提交于
-
- 07 9月, 2016 10 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
Two changes to web.reactive.function: - Changed Response.stream method to allow for specific Publisher types to be returned in Response. - Router now stores HttpMessageReader|Writer retrieved from Configuration in the attributes as supplier, not as stream, to allow for multiple reads.
-
由 Brian Clozel 提交于
Sources should be using UTF-8. Issue: SPR-14674
-
由 Arjen Poutsma 提交于
Removes attributes() method from Request, as it exposes a mutable map.
-
由 Brian Clozel 提交于
Prior to this commit, the resource handling chain and its `ResourceResolvers` would use specific `Resource` implementations in order to add resource metadata to the HTTP response. For example, `VersionedResource` and `EncodedResource` are both adding specific HTTP response headers. This commit aims at making this mechanism more stable and reusable, since the previous implementation would fail in case a resolved resource would be both a `VersionedResource` wrapping a `EncodedResource` (or the other way arount). Only one of the specific implementations would contribute its metadata since the code supporting that in `ResourceHttpRequestHandler` would only check for `instanceof` tests, whereas those implementations are acutally delegating calls to the wrapped resource. Now both `VersionedResource` and `EncodedResource` have been replaced by specific implementations of `ResolvedResource`, which directly provides those HTTP response headers as part of `getResponseHeaders()`. This commit applies the same changes for the web reactive implementations and its `ResourceWebHandler`. Issue: SPR-14264
-
由 Artem Yakshin 提交于
-
由 Artem Yakshin 提交于
-
由 Stephane Nicoll 提交于
* pr/1158: Fix typo
-
由 nkjackzhang 提交于
Closes gh-1158
-
由 Brian Clozel 提交于
Since SPR-14522, the web reactive framework supports checkNotModified features. This commit aligns the existing MVC infrastructure with web reactive's behavior. Because of the new Servlet 3.0 baseline, some constraints aren't relevant anymore and duplicate code has been removed in `HttpEntityMethodProcessor`. Issue: SPR-14659
-
- 06 9月, 2016 6 次提交
-
-
由 Brian Clozel 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-14521
-
由 Rossen Stoyanchev 提交于
A straight-forward port of the resource handling support in spring-webmvc to spring-web-reactive. Primarily adapting contracts and implementations to use the reactive request and response and the reactive ResourceHttpMessageWriter. Issue: SPR-14521
-
由 Rossen Stoyanchev 提交于
-
由 Sam Brannen 提交于
Issue: SPR-5863
-
由 Sam Brannen 提交于
Issue: SPR-5863
-
- 05 9月, 2016 4 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-4365
-
由 Sam Brannen 提交于
Whereas the existing TestContextConcurrencyTests verify support for concurrency in the TestContextManager and TestContext, this commit introduces SpringJUnit4ConcurrencyTests that verify support for concurrent test execution in Spring's JUnit 4 support, namely in the SpringRunner, SpringClassRule, and SpringMethodRule. The tests executed by this new test class come from a hand-picked collection of test classes within the test suite that is intended to cover most categories of tests that are currently supported by the TestContext Framework on JUnit 4. Note, however, that the chosen test classes intentionally do not include any classes that fall under the following categories. - tests that make use of Spring's @DirtiesContext support - tests that make use of JUnit 4's @FixMethodOrder support - tests that commit changes to the state of a shared in-memory database Issue: SPR-5863
-
由 Sam Brannen 提交于
This commit improves the exception message thrown when a test's ApplicationContext is no longer active by explaining that the cause may be due to parallel test execution. Issue: SPR-5863
-
由 Sam Brannen 提交于
Issue: SPR-5863
-
- 03 9月, 2016 5 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Violeta Georgieva 提交于
As per specification "The Subscription MUST allow the Subscriber to call Subscription.request synchronously from within onNext or onSubscribe". With the current implementation if Subscription.request is called more than once when Subscriber.onSubscribe ISE will be thrown - java.lang.IllegalStateException: DEMAND. With this fix the implementation will not throw ISE and will allow many invocations of Subscription.request when Subscriber.onSubscribe.
-
由 Brian Clozel 提交于
This commit fixes `ResponseEntityResultHandler` so that it only tries to call `writeBody` if the `ResponseEntity` is not null. In case the response entity body is null, the response is flushed right away and the request is signaled as handled. Issue: SPR-14663
-
由 Sam Brannen 提交于
Prior to this commit, executing tests concurrently in the TestContext Framework (TCF) was unsupported and typically lead to unpredictable results. This commit addresses this core issue by supporting concurrent execution in the TestContextManager and the DefaultTestContext. Specifically, the TestContextManager now uses ThreadLocal storage for the current TestContext, thereby ensuring that any registered TestExecutionListeners and the TestContextManager itself operate on a TestContext specific to the current thread. In order to avoid repeatedly incurring the costs of the overhead of the TCF bootstrapping process, the original TestContext built by the TestContextBootstrapper is used as a template which is then passed to the copy constructor of the concrete implementation of the TestContext to create the context for the current thread. DefaultTestContext now implements such a copy constructor, and all concrete implementations of TestContext are encouraged to do the same. If the TestContext built by the TestContextBootstrapper does not provide a copy constructor, thread-safety and support for concurrency are left completely to the implementation of the concrete TestContext. Note, however, that this commit does not address any thread-safety or concurrency issues in the ContextLoader SPI or its implementations. Issue: SPR-5863
-
由 Sam Brannen 提交于
This commit inlines the basic implementation of AttributeAccessorSupport and converts the LinkedHashMap to a ConcurrentHashMap. In addition, attributes are now included in toString(). Issue: SPR-5863
-