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 has already been written to, or whose output stream or writer has already been retrieved, 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()