- 24 6月, 2016 5 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
-
由 Arjen Poutsma 提交于
Servlet flush will now occur on the next possible write if it cannot be done immediately.
-
由 Sebastien Deleuze 提交于
Flux<SseEvent> is Spring Web Reactive equivalent to Spring MVC SseEmitter type. It allows to send Server-Sent Events in a reactive way. Sending Flux<String> or Flux<Pojo> is equivalent to sending Flux<SseEvent> with the data property set to the String or Pojo value. For example: @RestController public class SseController { @RequestMapping("/sse/string") Flux<String> string() { return Flux.interval(Duration.ofSeconds(1)).map(l -> "foo " + l); } @RequestMapping("/sse/person") Flux<Person> person() { return Flux.interval(Duration.ofSeconds(1)).map(l -> new Person(Long.toString(l), "foo", "bar")); } @RequestMapping("/sse-raw") Flux<SseEvent> sse() { return Flux.interval(Duration.ofSeconds(1)).map(l -> { SseEvent event = new SseEvent(); event.setId(Long.toString(l)); event.setData("foo\nbar"); event.setComment("bar\nbaz"); return event; }); } }
-
由 Sebastien Deleuze 提交于
This commit add flushing support thanks to the FlushingDataBuffer wrapper that allows to identify the elements that should trigger a flush.
-
- 22 6月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 21 6月, 2016 1 次提交
-
-
由 Sebastien Deleuze 提交于
-
- 20 6月, 2016 3 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Sebastien Deleuze 提交于
This commit also fixes an issue in the HTTP client that used the wrapper type instead of the element type. As a consequence, due to type erasure, we now have to specify the type of the content in DefaultHttpRequestBuilder#contentStream().
-
由 Sebastien Deleuze 提交于
-
- 11 6月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 10 6月, 2016 4 次提交
-
-
由 Arjen Poutsma 提交于
- Added fromIndex parameter to indexOf and lastIndexOf - Moved DataBuffer.tokenize to StringEncoder, as that's the only place it's used.
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
Renamed getSupportedMimeTypes() to getEncodableMimeTypes and getDecodableMimeTypes. This will allow for both Encoder and Decoder to be implemented in the same class. This issue fixes #113.
-
由 Arjen Poutsma 提交于
-
- 09 6月, 2016 4 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
The Pojo test class from the codec package will end up in spring-core. This commit ensures it is used only from classes that also belong to spring-core.
-
由 Rossen Stoyanchev 提交于
-
- 08 6月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 07 6月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 06 6月, 2016 4 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 04 6月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 02 6月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Removed in favor of accessing the factory from the response.
-
由 Rossen Stoyanchev 提交于
After the fix for ReactiveX/RxNetty#509 we can remove the workaround to concatenate with an empty Observable for the request body and upgrade to the latest RxJava 1.1.5. Issues: #103
-
- 01 6月, 2016 7 次提交
-
-
由 Sebastien Deleuze 提交于
-
由 Rossen Stoyanchev 提交于
The converters release so this is the right thing to do, not a temporary fix.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
ViewResolutionResultHandler and ResponseBodyResultHandler now share a common base class ContentNegotiatingResultHandlerSupport that supports content negotiation. For view resolution we compare against the supported media types of resolved View instances, which may include default View's delegating to an HttpMessageConverter (e.g. JSON, XML, rendering).
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
View now returns Mono<Void> rather than Flux<DataBuffer> which aligns more closely with the reactive HttpMessageConverter vs the Encoder. The change was prompted by the upcoming implementation of a View that delegates to an existing HttpMessageConverter e.g. for JSON, XML. The resulting change also brings the reactive View closer in spirit to the View from spring-webmvc which returns void.
-
由 Rossen Stoyanchev 提交于
-