public class StaticFileHandler extends Object implements RequestHandler<Boolean>
Modifier and Type | Field and Description |
---|---|
static int |
HTTP_CACHE_SECONDS |
static org.slf4j.Logger |
log |
Constructor and Description |
---|
StaticFileHandler(Blade blade) |
Modifier and Type | Method and Description |
---|---|
Date |
format(String date,
String pattern) |
Boolean |
handle(io.netty.channel.ChannelHandlerContext ctx,
Request request,
Response response)
print static file to clinet
|
public static final org.slf4j.Logger log
public static final int HTTP_CACHE_SECONDS
public StaticFileHandler(Blade blade)
Copyright © 2017. All rights reserved.