Package rife.engine.exceptions
Class SseConnectionAfterOutputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rife.engine.exceptions.EngineException
rife.engine.exceptions.SseConnectionAfterOutputException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SseConnectionAfterOutputException
public SseConnectionAfterOutputException()
-