@ApplicationScoped public class WebsocketEvents extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Inventory |
inventory |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
WebsocketEvents() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(javax.websocket.Session session) |
static Map<String,String> |
getQueryMap(String query) |
void |
handleMessage(String message,
javax.websocket.Session session) |
void |
onError(Throwable error) |
void |
open(javax.websocket.Session session) |
@Inject protected Inventory inventory
@Inject protected com.fasterxml.jackson.databind.ObjectMapper mapper
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.