Class HandshakeResult.Rejected
java.lang.Object
com.soklet.HandshakeResult.Rejected
- All Implemented Interfaces:
HandshakeResult
- Enclosing interface:
HandshakeResult
@ThreadSafe
public static final class HandshakeResult.Rejected
extends Object
implements HandshakeResult
Type which indicates a rejected Server-Sent Event handshake.
Instances can be acquired via the HandshakeResult.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 HandshakeResult
HandshakeResult.Accepted, HandshakeResult.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
-