Class SseConnectionAlreadyEstablishedException

All Implemented Interfaces:
Serializable

public class SseConnectionAlreadyEstablishedException extends EngineException
Thrown when a server-sent events connection is established for a request that already has one, since two connections over the same response would interleave their event writes and corrupt the stream.

A request establishes its connection once, after which that same connection instance should be used for everything that it sends.

Since:
1.10
See Also:
  • Constructor Details

    • SseConnectionAlreadyEstablishedException

      public SseConnectionAlreadyEstablishedException()