Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2073

JAXRS 2.2 SseBroadcaster close all registered SseEventSink

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 6.1.0.Alpha1, 6.1.0.Final
    • None
    • None
    • None

    Description

      JAXRS 2.2 has the new close api to allow close all resources with cascading effect.
      /**

      • Close the broadcaster and release any resources associated with it. The closing of
      • registered {@link SseEventSink} is controlled by the {@code cascading} parameter.
        * <p>
        * Subsequent calls have no effect and are ignored. Once the {@link SseBroadcaster} is closed,
        * invoking any other method on the broadcaster instance would result in an
        * {@link IllegalStateException} being thrown.
        *
        * @param cascading Boolean value that controls closing of registered {@link SseEventSink}
      • instances.
        */
        public void close(boolean cascading)
        {

      }

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: