Package net.jrouter.http.netty
Interface HttpActionInvocation
- All Superinterfaces:
net.jrouter.ActionInvocation<String>
- All Known Implementing Classes:
HttpServerActionFactory.DefaultHttpActionInvocation
扩展
ActionInvocation<String>,返回HTTP Servlet常用参数的接口。-
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelHandlerContextGets theChannelHandlerContextobject.Get Invocation Context Map.io.netty.handler.codec.http.FullHttpRequestGets the HTTP request object.io.netty.handler.codec.http.FullHttpResponseGets the HTTP response object.Methods inherited from interface net.jrouter.ActionInvocation
getActionFactory, getActionPath, getActionProxy, getConvertParameters, getInvokeResult, getParameterConverter, getParameters, getPathParameters, getResult, invoke, invokeActionOnly, isExecuted, setConvertParameters, setInvokeResult, setParameterConverter, setResult
-
Method Details
-
getRequest
io.netty.handler.codec.http.FullHttpRequest getRequest()Gets the HTTP request object.- Returns:
- the HTTP request object.
-
getResponse
io.netty.handler.codec.http.FullHttpResponse getResponse()Gets the HTTP response object.- Returns:
- the HTTP response object.
-
getChannelHandlerContext
io.netty.channel.ChannelHandlerContext getChannelHandlerContext()Gets theChannelHandlerContextobject.- Returns:
- the
ChannelHandlerContextobject.
-
getContextMap
Get Invocation Context Map.- Returns:
- the Context Map.
-