public class RouteMethodHandler extends Object implements RequestHandler
构造器和说明 |
---|
RouteMethodHandler() |
限定符和类型 | 方法和说明 |
---|---|
void |
handle(WebContext webContext) |
io.netty.handler.codec.http.FullHttpResponse |
handleResponse(Request request,
Response response,
io.netty.channel.ChannelHandlerContext context) |
Void |
handleStreamResponse(Response response,
InputStream body,
io.netty.channel.ChannelHandlerContext context,
boolean keepAlive) |
public void handle(WebContext webContext) throws Exception
handle
在接口中 RequestHandler
Exception
public io.netty.handler.codec.http.FullHttpResponse handleResponse(Request request, Response response, io.netty.channel.ChannelHandlerContext context)
public Void handleStreamResponse(Response response, InputStream body, io.netty.channel.ChannelHandlerContext context, boolean keepAlive)
Copyright © 2018. All rights reserved.