@ChannelHandler.Sharable
public class ResourceHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_CACHE_SECONDS |
static String |
HTTP_DATE_FORMAT |
static String |
HTTP_DATE_GMT_TIMEZONE |
| Constructor and Description |
|---|
ResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(String pathPart,
String resourcePath) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic static final String HTTP_DATE_FORMAT
public static final String HTTP_DATE_GMT_TIMEZONE
public static final int HTTP_CACHE_SECONDS
Copyright © 2012–2016. All rights reserved.