1. 24 6月, 2016 4 次提交
    • S
      Take in account Rossen and Arjen feedbacks · 3c80c19c
      Sebastien Deleuze 提交于
      3c80c19c
    • A
      Fixed Servlet flush · 81496624
      Arjen Poutsma 提交于
      Servlet flush will now occur on the next possible write if it cannot be
      done immediately.
      81496624
    • S
      Add Server-Sent Events support · 90048122
      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;
      		});
      	}
      }
      90048122
    • S
      Add flushing support · aeb35787
      Sebastien Deleuze 提交于
      This commit add flushing support thanks to the FlushingDataBuffer
      wrapper that allows to identify the elements that should trigger a
      flush.
      aeb35787
  2. 22 6月, 2016 1 次提交
  3. 21 6月, 2016 1 次提交
  4. 20 6月, 2016 3 次提交
  5. 11 6月, 2016 3 次提交
  6. 10 6月, 2016 4 次提交
  7. 09 6月, 2016 4 次提交
  8. 08 6月, 2016 1 次提交
  9. 07 6月, 2016 3 次提交
  10. 06 6月, 2016 4 次提交
  11. 04 6月, 2016 2 次提交
  12. 02 6月, 2016 2 次提交
  13. 01 6月, 2016 8 次提交