public class XhrSendTransport extends AbstractSendTransport
XhrPollingTransportconfig| Constructor and Description |
|---|
XhrSendTransport(SockJsConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
respond(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request)
Allows concrete subclasses to very how they will respond after a message has been sent
to the target SockJS service.
|
String |
toString() |
messageReceived, respondacceptInboundMessage, channelReadpublic XhrSendTransport(SockJsConfig config)
public void respond(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request)
throws Exception
AbstractSendTransportrespond in class AbstractSendTransportctx - the current ChannelHandlerContext.request - the http request.Exception - if a failure occurs while trying to respond.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.