public class HtmlFileTransport
extends io.netty.channel.ChannelHandlerAdapter
| Constructor and Description |
|---|
HtmlFileTransport(SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected io.netty.handler.codec.http.HttpResponse |
createResponse(String contentType) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
public HtmlFileTransport(SockJsConfig config, io.netty.handler.codec.http.HttpRequest request)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelHandlerchannelRead in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelHandlerwrite in class io.netty.channel.ChannelHandlerAdapterExceptionprotected io.netty.handler.codec.http.HttpResponse createResponse(String contentType)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.