@ChannelHandler.Sharable public class BridgeRuntime extends HttpStaticFileServerHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
BridgeRuntime.State |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
NETTY_41_PLUS |
ATTACHMENT, HTTP_CACHE_SECONDS, HTTP_DATE_FORMAT, HTTP_DATE_GMT_TIMEZONE, SERVICED, STATIC_MAPPING| Constructor and Description |
|---|
BridgeRuntime(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object messageEvent) |
void |
destroy() |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable e) |
org.atmosphere.cpr.AtmosphereFramework |
framework() |
io.netty.channel.group.ChannelGroup |
httpChannels() |
void |
sendError(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.handler.codec.http.FullHttpRequest e) |
io.netty.channel.group.ChannelGroup |
websocketChannels() |
channelRead0, sanitizeUri, sendRedirectchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic BridgeRuntime(Config config)
public org.atmosphere.cpr.AtmosphereFramework framework()
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object messageEvent)
throws java.net.URISyntaxException,
java.io.IOException
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>java.net.URISyntaxExceptionjava.io.IOExceptionpublic void sendError(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.handler.codec.http.FullHttpRequest e)
sendError in class HttpStaticFileServerHandlerpublic void destroy()
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable e)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class HttpStaticFileServerHandlerpublic io.netty.channel.group.ChannelGroup httpChannels()
public io.netty.channel.group.ChannelGroup websocketChannels()
Copyright © 2018. All Rights Reserved.