public class SockJsHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
SockJsHandler.MatchingSessionPath |
static class |
SockJsHandler.NonSupportedPath |
static interface |
SockJsHandler.PathParams
Represents HTTP path parameters in SockJS.
|
| Constructor and Description |
|---|
SockJsHandler(SockJsServiceFactory... factories)
Sole constructor which takes one or more
SockJSServiceFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request) |
acceptInboundMessage, channelReadpublic SockJsHandler(SockJsServiceFactory... factories)
SockJSServiceFactory. These factories will
later be used by the server to create the SockJS services that will be exposed by this serverfactories - one or more SockJsServiceFactorys.public void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request)
throws Exception
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>ExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.