public class StaticFileHandler extends Object implements RequestHandler<io.netty.channel.ChannelHandlerContext>
public StaticFileHandler(Blade blade)
public void handle(io.netty.channel.ChannelHandlerContext ctx, Request request, Response response) throws Exception
handle
在接口中 RequestHandler<io.netty.channel.ChannelHandlerContext>
ctx
- ChannelHandlerContextrequest
- Requestresponse
- ResponseException
Copyright © 2018. All rights reserved.