Class SseRequestResult.RequestFailed
java.lang.Object
com.soklet.SseRequestResult.RequestFailed
- All Implemented Interfaces:
SseRequestResult
- Enclosing interface:
SseRequestResult
@ThreadSafe
public static final class SseRequestResult.RequestFailed
extends Object
implements SseRequestResult
Represents the result of an SSE request failure (implicit rejection, e.g. an exception occurred; connection closed) when simulated by
Simulator.performSseRequest(Request).
The final data sent to the client is available via getHttpRequestResult().
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface SseRequestResult
SseRequestResult.HandshakeAccepted, SseRequestResult.HandshakeRejected, SseRequestResult.RequestFailedModifier and TypeInterfaceDescriptionstatic final classRepresents the result of an SSE accepted handshake (connection stays open) when simulated bySimulator.performSseRequest(Request).static final classRepresents the result of an SSE rejected handshake (explicit rejection; connection closed) when simulated bySimulator.performSseRequest(Request).static final classRepresents the result of an SSE request failure (implicit rejection, e.g. an exception occurred; connection closed) when simulated bySimulator.performSseRequest(Request). -
Method Summary
-
Method Details
-
getHttpRequestResult
The result of the handshake, as written back to the client (the connection is then closed).- Returns:
- the result of this request
-
toString
-
equals
-
hashCode
-