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 |
getContext()
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 getContext()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.