Class ServerSentEventRequestResult.RequestFailed
java.lang.Object
com.soklet.ServerSentEventRequestResult.RequestFailed
- All Implemented Interfaces:
ServerSentEventRequestResult
- Enclosing interface:
ServerSentEventRequestResult
@ThreadSafe
public static final class ServerSentEventRequestResult.RequestFailed
extends Object
implements ServerSentEventRequestResult
Represents the result of an SSE request failure (implicit rejection, e.g. an exception occurred; connection closed) when simulated by
Simulator.performServerSentEventRequest(Request).
The final data sent to the client is available via getRequestResult().
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerSentEventRequestResult
ServerSentEventRequestResult.HandshakeAccepted, ServerSentEventRequestResult.HandshakeRejected, ServerSentEventRequestResult.RequestFailed -
Method Summary
-
Method Details
-
getRequestResult
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
-