Interface HttpActionInvocation

All Superinterfaces:
net.jrouter.ActionInvocation<String>
All Known Implementing Classes:
HttpServerActionFactory.DefaultHttpActionInvocation

@Dynamic public interface HttpActionInvocation extends net.jrouter.ActionInvocation<String>
扩展ActionInvocation<String>,返回HTTP Servlet常用参数的接口。
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.ChannelHandlerContext
    Gets the ChannelHandlerContext object.
    Get Invocation Context Map.
    io.netty.handler.codec.http.FullHttpRequest
    Gets the HTTP request object.
    io.netty.handler.codec.http.FullHttpResponse
    Gets 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 the ChannelHandlerContext object.
      Returns:
      the ChannelHandlerContext object.
    • getContextMap

      Map<String,Object> getContextMap()
      Get Invocation Context Map.
      Returns:
      the Context Map.