Interface ExtensionWebSocketCreation
public interface ExtensionWebSocketCreation
Result of a WebSocket creation attempt
-
Method Summary
Modifier and TypeMethodDescriptionstatus()
The status of the WebSocket creation attempt.The HTTP response from the WebSocket creation attempt.The created WebSocket.
-
Method Details
-
status
ExtensionWebSocketCreationStatus status()The status of the WebSocket creation attempt.- Returns:
- The
ExtensionWebSocketCreationStatus
creation status
-
webSocket
Optional<ExtensionWebSocket> webSocket()The created WebSocket.- Returns:
- the created
ExtensionWebSocket
-
upgradeResponse
Optional<HttpResponse> upgradeResponse()The HTTP response from the WebSocket creation attempt.- Returns:
- the
HttpResponse
-