Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15826

Remove BodyInserters.fromServerSentEvent variants

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0 RC4
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Removed superfluous fromServerSentEvent variants from BodyInserters, as their functionality can also be obtained by passing a stream of strings or POJOs (to be encoded as JSON) to fromPublisher(Publisher, Class), and specifying a text/event-stream Content-Type.

        Activity

        Show
        arjen.poutsma Arjen Poutsma added a comment - See https://github.com/spring-projects/spring-framework/commit/0b3ea405ab8a93610286c1de1a393c3fa9cbe071

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            arjen.poutsma Arjen Poutsma
            Last updater:
            St├ęphane Nicoll
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              8 weeks ago