Class ClientWebSocketHandshakeResponse
java.lang.Object
cool.scx.websocket.x.ClientWebSocketHandshakeResponse
- All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper,cool.scx.http.ScxHttpClientResponse,ScxClientWebSocketHandshakeResponse
public class ClientWebSocketHandshakeResponse
extends Object
implements ScxClientWebSocketHandshakeResponse
-
Constructor Summary
ConstructorsConstructorDescriptionClientWebSocketHandshakeResponse(Http1ClientConnection connection, cool.scx.http.ScxHttpClientResponse response, WebSocketOptions webSocketOptions) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.headers.ScxHttpHeadersReadHelper
contentEncoding, contentLength, contentType, cookies, getCookie, getHeader, getHeader, getSetCookie, setCookies
-
Constructor Details
-
ClientWebSocketHandshakeResponse
public ClientWebSocketHandshakeResponse(Http1ClientConnection connection, cool.scx.http.ScxHttpClientResponse response, WebSocketOptions webSocketOptions)
-
-
Method Details
-
handshakeSucceeded
public boolean handshakeSucceeded()- Specified by:
handshakeSucceededin interfaceScxClientWebSocketHandshakeResponse
-
webSocket
- Specified by:
webSocketin interfaceScxClientWebSocketHandshakeResponse
-
status
public cool.scx.http.status.ScxHttpStatus status()- Specified by:
statusin interfacecool.scx.http.ScxHttpClientResponse
-
headers
public cool.scx.http.headers.ScxHttpHeaders headers()- Specified by:
headersin interfacecool.scx.http.ScxHttpClientResponse- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersReadHelper
-
body
public cool.scx.http.body.ScxHttpBody body()- Specified by:
bodyin interfacecool.scx.http.ScxHttpClientResponse
-