Interface HttpWebSocketClient
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface HttpWebSocketClient extends Closeable
HTTP WebSocket client interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close this WebSocket client.WebSocketAdapternewWebSocket(WebSocketAdapterConfiguration configuration)Request the client to create a new WebSocket on the given configuration.
-
-
-
Method Detail
-
newWebSocket
WebSocketAdapter newWebSocket(WebSocketAdapterConfiguration configuration)
Request the client to create a new WebSocket on the given configuration.- Parameters:
configuration- options to build the WebSocketAdapter.- Returns:
- new
WebSocketAdapterinstance
-
close
void close()
Close this WebSocket client.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-