diff options
author | Alexander Alexeev | 2016-11-24 12:46:46 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-25 00:29:30 +0300 |
commit | d8f4849e84569436e36afb4c1e914b93d70370f7 (patch) | |
tree | 5727556dca69d406a567d753e16d0b055f15b239 /juick-ws/src/main/java/com/juick/ws/controllers | |
parent | 63f32f7c061d26b1bee8bba1c6c568a05e9d701f (diff) |
web socket configuration separated; header mapping fixed
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/controllers')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java b/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java index 2fe55eeb..28766a29 100644 --- a/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java +++ b/juick-ws/src/main/java/com/juick/ws/controllers/StatusController.java @@ -21,7 +21,7 @@ public class StatusController { @Inject XMPPConnection ws; - @RequestMapping(method = RequestMethod.GET, headers = "Connection!=upgrade", value = "/") + @RequestMapping(method = RequestMethod.GET, headers = "Connection!=Upgrade", value = "/") public ModelAndView status() { ModelAndView modelAndView = new ModelAndView(); modelAndView.addObject("clients", wsHandler.getClients().size()); |