org.atmosphere.samples.pubsub.controllers
Class ChatController
java.lang.Object
org.atmosphere.samples.pubsub.controllers.ChatController
@Controller
public class ChatController
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatController
public ChatController()
subscribe
@RequestMapping(value="/websockets")
@ResponseBody
public void subscribe(AtmosphereResource resource)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.