public class WebsocketKieServerControllerClient
extends javax.websocket.Endpoint
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZATION |
| Constructor and Description |
|---|
WebsocketKieServerControllerClient(Consumer<WebsocketKieServerControllerClient> onReconnect) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(String controllerUrl,
org.kie.server.api.model.KieServerConfig config) |
boolean |
isActive() |
void |
onClose(javax.websocket.Session session,
javax.websocket.CloseReason reason) |
void |
onError(javax.websocket.Session session,
Throwable thr) |
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config) |
void |
sendWithHandler(String content,
InternalMessageHandler handler) |
public static final String AUTHORIZATION
public WebsocketKieServerControllerClient(Consumer<WebsocketKieServerControllerClient> onReconnect)
public void onClose(javax.websocket.Session session,
javax.websocket.CloseReason reason)
onClose in class javax.websocket.Endpointpublic void init(String controllerUrl, org.kie.server.api.model.KieServerConfig config)
public void close()
public void sendWithHandler(String content, InternalMessageHandler handler) throws IOException
IOExceptionpublic boolean isActive()
public void onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config)
onOpen in class javax.websocket.Endpointpublic void onError(javax.websocket.Session session,
Throwable thr)
onError in class javax.websocket.EndpointCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.