public class SessionHandler.DefaultSockJsSessionContext extends Object implements SockJsSessionContext
| Constructor and Description |
|---|
SessionHandler.DefaultSockJsSessionContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the current session.
|
io.netty.channel.ChannelHandlerContext |
getContext()
Get the underlying ChannelHandlerContext.
|
void |
send(String message)
Send data to the current session.
|
public SessionHandler.DefaultSockJsSessionContext()
public void send(String message)
SockJsSessionContextsend in interface SockJsSessionContextmessage - the message to be sent.public void close()
SockJsSessionContextclose in interface SockJsSessionContextpublic io.netty.channel.ChannelHandlerContext getContext()
SockJsSessionContextgetContext in interface SockJsSessionContextCopyright © 2014 JBoss by Red Hat. All Rights Reserved.