Package net.jrouter.http.netty
Class HttpServerActionFactory.DefaultHttpActionInvocation
java.lang.Object
net.jrouter.support.ActionInvocationDelegate<String>
net.jrouter.http.netty.HttpServerActionFactory.DefaultHttpActionInvocation
- All Implemented Interfaces:
net.jrouter.ActionInvocation<String>,HttpActionInvocation
- Enclosing interface:
- HttpServerActionFactory
@Dynamic
public static class HttpServerActionFactory.DefaultHttpActionInvocation
extends net.jrouter.support.ActionInvocationDelegate<String>
implements HttpActionInvocation
扩展
ActionInvocation,提供获取Http参数对象,并提供给参数转换器。-
Field Summary
Fields inherited from class net.jrouter.support.ActionInvocationDelegate
delegate -
Constructor Summary
ConstructorsConstructorDescriptionDefaultHttpActionInvocation(net.jrouter.ActionInvocation<String> invocation, io.netty.handler.codec.http.FullHttpRequest request, io.netty.handler.codec.http.FullHttpResponse response, io.netty.channel.ChannelHandlerContext channelHandlerContext, Map<String, Object> contextMap) -
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 class net.jrouter.support.ActionInvocationDelegate
getActionFactory, getActionPath, getActionProxy, getConvertParameters, getInvokeResult, getParameterConverter, getParameters, getPathParameters, getResult, invoke, invokeActionOnly, isExecuted, setConvertParameters, setInvokeResult, setParameterConverter, setResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jrouter.ActionInvocation
getActionFactory, getActionPath, getActionProxy, getConvertParameters, getInvokeResult, getParameterConverter, getParameters, getPathParameters, getResult, invoke, invokeActionOnly, isExecuted, setConvertParameters, setInvokeResult, setParameterConverter, setResult
-
Constructor Details
-
DefaultHttpActionInvocation
-
-
Method Details
-
getRequest
public io.netty.handler.codec.http.FullHttpRequest getRequest()Description copied from interface:HttpActionInvocationGets the HTTP request object.- Specified by:
getRequestin interfaceHttpActionInvocation- Returns:
- the HTTP request object.
-
getResponse
public io.netty.handler.codec.http.FullHttpResponse getResponse()Description copied from interface:HttpActionInvocationGets the HTTP response object.- Specified by:
getResponsein interfaceHttpActionInvocation- Returns:
- the HTTP response object.
-
getChannelHandlerContext
public io.netty.channel.ChannelHandlerContext getChannelHandlerContext()Description copied from interface:HttpActionInvocationGets theChannelHandlerContextobject.- Specified by:
getChannelHandlerContextin interfaceHttpActionInvocation- Returns:
- the
ChannelHandlerContextobject.
-
getContextMap
Description copied from interface:HttpActionInvocationGet Invocation Context Map.- Specified by:
getContextMapin interfaceHttpActionInvocation- Returns:
- the Context Map.
-