public interface SockJsSessionContext
SockJsService to interact with its session by providing
methods to send data, and to close the session.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the current session.
|
io.netty.channel.ChannelHandlerContext |
getConnectionContext()
Get the underlying ChannelHandlerContext.
|
io.netty.channel.ChannelHandlerContext |
getCurrentContext()
Get the underlying ChannelHandlerContext.
|
void |
send(String message)
Send data to the current session.
|
void send(String message)
message - the message to be sent.void close()
io.netty.channel.ChannelHandlerContext getConnectionContext()
io.netty.channel.ChannelHandlerContext getCurrentContext()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.