| 限定符和类型 | 接口和说明 |
|---|---|
static class |
HttpServerActionFactory.DefaultHttpActionFactory
提供
ServletActionFactory接口默认实现。 |
static class |
HttpServerActionFactory.DefaultHttpActionInvocation
扩展
ActionInvocation,提供获取Http参数对象,并提供给参数转换器。 |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
invokeAction(String path,
io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response,
io.netty.channel.ChannelHandlerContext context)
Use this instead of
ActionFactory.invokeAction(Object, Object...) to pass Http parameters. |
<T> T invokeAction(String path, io.netty.handler.codec.http.FullHttpRequest request, io.netty.handler.codec.http.FullHttpResponse response, io.netty.channel.ChannelHandlerContext context) throws net.jrouter.JRouterException
ActionFactory.invokeAction(Object, Object...) to pass Http parameters.T - Generic type.path - Action path.request - FullHttpRequest.response - FullHttpResponse.context - ChannelHandlerContext.net.jrouter.JRouterException - if error occurrs.ActionFactory.invokeAction(Object, Object...)Copyright © 2020. All rights reserved.