public class XhrPollingTransport
extends io.netty.channel.ChannelHandlerAdapter
Frames and sending the
content back to the client. These frames are generated by the SockJS session handling.XhrSendTransport| Constructor and Description |
|---|
XhrPollingTransport(SockJsConfig config,
io.netty.handler.codec.http.FullHttpRequest request)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
public XhrPollingTransport(SockJsConfig config, io.netty.handler.codec.http.FullHttpRequest request)
config - the SockJS SockJsConfig instance.request - the FullHttpRequest which can be used get information like the HTTP version.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.