Class ServerSentEventRequestResult.HandshakeRejected

java.lang.Object
com.soklet.ServerSentEventRequestResult.HandshakeRejected
All Implemented Interfaces:
ServerSentEventRequestResult
Enclosing interface:
ServerSentEventRequestResult

Represents the result of an SSE rejected handshake (explicit rejection; connection closed) when simulated by Simulator.performServerSentEventRequest(Request).

The data provided when the handshake was rejected is available via getHandshakeResult(), and the final data sent to the client is available via getRequestResult().

Author:
Mark Allen