1. 01 7月, 2016 2 次提交
  2. 30 6月, 2016 3 次提交
  3. 29 6月, 2016 1 次提交
  4. 27 6月, 2016 3 次提交
  5. 25 6月, 2016 4 次提交
  6. 24 6月, 2016 4 次提交
    • S
      Remove SseHttpMessageConverter · e6a0b39d
      Sebastien Deleuze 提交于
      CodecHttpMessageConverter is now suitable for SSE since it now
      handles default content type.
      e6a0b39d
    • A
      Fixed Undertow flush support · 52325a21
      Arjen Poutsma 提交于
      Reactored Servlet 3.1 and Undertow response support into an
      AbstractResponseBodySubscriber that uses an internal state machine,
      making thread-safity a lot easier.
      52325a21
    • S
      Take in account Rossen and Arjen feedbacks · 3c80c19c
      Sebastien Deleuze 提交于
      3c80c19c
    • 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
  7. 22 6月, 2016 1 次提交
  8. 11 6月, 2016 1 次提交
  9. 09 6月, 2016 1 次提交
  10. 08 6月, 2016 1 次提交
  11. 07 6月, 2016 1 次提交
  12. 06 6月, 2016 3 次提交
  13. 04 6月, 2016 2 次提交
  14. 02 6月, 2016 1 次提交
  15. 01 6月, 2016 6 次提交
  16. 30 5月, 2016 1 次提交
  17. 28 5月, 2016 3 次提交
  18. 27 5月, 2016 2 次提交