Uses of Interface
org.forgerock.openig.tools.notifications.ws.WebSocketAdapter
-
Packages that use WebSocketAdapter Package Description org.forgerock.openig.tools.notifications.ws Web socket notifications service implementation. -
-
Uses of WebSocketAdapter in org.forgerock.openig.tools.notifications.ws
Methods in org.forgerock.openig.tools.notifications.ws that return WebSocketAdapter Modifier and Type Method Description WebSocketAdapter
WebSocketAdapter. closeHandler(Consumer<Void> closeHandler)
Supply a close handler executed once the client websocket connection being closed.WebSocketAdapter
WebSocketAdapter. exceptionHandler(Consumer<Throwable> exceptionHandler)
Supply an exception handler capable of consuming websocket exceptions.WebSocketAdapter
WebSocketAdapter. messageHandler(Consumer<JsonValue> messageHandler)
Supply a message handler capable of consuming server requests.WebSocketAdapter
HttpWebSocketClient. newWebSocket(URI uri)
Request the client to create a new WebSocket on the given URI.WebSocketAdapter
WebSocketAdapter. openHandler(Consumer<WebSocketAdapter> openHandler)
Supply an open handler executed once the websocket connection is established and completed.WebSocketAdapter
WebSocketAdapter. reconnect(Duration reconnectDelay, int initialConnectionAttempts)
Supply reconnect configuration to support reconnection attempts should the websocket be terminated remotely.WebSocketAdapter
WebSocketAdapter. ssoHeader(String headerName, AsyncRefreshableSupplier<SsoToken,AuthenticationException> tokenProvider)
Provide values for a SSO token header.WebSocketAdapter
WebSocketAdapter. subprotocols(List<String> subprotocols)
Supply a list of protocols supported by this websocket client.Methods in org.forgerock.openig.tools.notifications.ws that return types with arguments of type WebSocketAdapter Modifier and Type Method Description Promise<WebSocketAdapter,Exception>
WebSocketAdapter. start()
Start the websocket client and connect to the remote endpoint.Methods in org.forgerock.openig.tools.notifications.ws with parameters of type WebSocketAdapter Modifier and Type Method Description void
SubscriptionService. onOpen(WebSocketAdapter webSocket)
Means of notifying theSubscriptionService
that a notification provider available.void
TopicManager. renewSession(WebSocketAdapter webSocket)
Refresh theTopicManager
session with a new WebSocket (on reconnection).Method parameters in org.forgerock.openig.tools.notifications.ws with type arguments of type WebSocketAdapter Modifier and Type Method Description WebSocketAdapter
WebSocketAdapter. openHandler(Consumer<WebSocketAdapter> openHandler)
Supply an open handler executed once the websocket connection is established and completed.
-