aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com/juick/ws/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-25 22:48:10 +0300
committerGravatar Vitaly Takmazov2016-07-27 13:56:45 +0300
commita18f5e5012b862992af40db60c83a40098342b53 (patch)
tree73f72b1ec6c374d92cc1ac714d5dc768956b2f4c /juick-ws/src/main/java/com/juick/ws/api
parent69af3f60d399157a8951988fa2f91d29c553fbb5 (diff)
fix ws configuration
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/api')
-rw-r--r--juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java b/juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java
index ada19f89..82e15765 100644
--- a/juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java
+++ b/juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java
@@ -1,5 +1,7 @@
package com.juick.ws.api;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
/**
* Created by vitalyster on 25.07.2016.
*/
@@ -10,6 +12,7 @@ public class WebSocketStatus {
clientsCount = count;
}
+ @JsonProperty("status")
public int getClientsCount() {
return clientsCount;
}