Class SseConnectionAfterOutputException

All Implemented Interfaces:
Serializable

public class SseConnectionAfterOutputException extends EngineException
Thrown when a server-sent events connection is established for a request whose response output has already been produced or handed out, since that content would precede the event stream and corrupt it.

You should establish the connection before anything is written to the response of the request.

Since:
1.10
See Also:
  • Constructor Details

    • SseConnectionAfterOutputException

      public SseConnectionAfterOutputException()