Class SseHandshakeResult.Rejected
java.lang.Object
com.soklet.SseHandshakeResult.Rejected
- All Implemented Interfaces:
SseHandshakeResult
- Enclosing interface:
SseHandshakeResult
@ThreadSafe
public static final class SseHandshakeResult.Rejected
extends Object
implements SseHandshakeResult
Type which indicates a rejected Server-Sent Event handshake.
Instances can be acquired via the SseHandshakeResult.rejectWithResponse(Response) factory method.
Full documentation is available at https://www.soklet.com/docs/server-sent-events#rejecting-handshakes.
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface SseHandshakeResult
SseHandshakeResult.Accepted, SseHandshakeResult.Rejected -
Method Summary
-
Method Details
-
getResponse
The logical response to send to the client for this handshake rejection.- Returns:
- the logical response for this handshake rejection
-
toString
-
equals
-
hashCode
-