Interface ServletActionInvocation

All Superinterfaces:
net.jrouter.ActionInvocation<String>
All Known Implementing Classes:
ServletActionFactory.DefaultServletActionInvocation

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

    Modifier and Type
    Method
    Description
    Get Invocation Context Map.
    jakarta.servlet.http.HttpServletRequest
    Gets the HTTP servlet request object.
    jakarta.servlet.http.HttpServletResponse
    Gets the HTTP servlet response object.
    jakarta.servlet.ServletContext
    Gets the servlet context.
    jakarta.servlet.http.HttpSession
    Gets the HTTP servlet session 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

      jakarta.servlet.http.HttpServletRequest getRequest()
      Gets the HTTP servlet request object.
      Returns:
      the HTTP servlet request object.
    • getSession

      jakarta.servlet.http.HttpSession getSession()
      Gets the HTTP servlet session object.
      Returns:
      the HTTP servlet session object.
    • getResponse

      jakarta.servlet.http.HttpServletResponse getResponse()
      Gets the HTTP servlet response object.
      Returns:
      the HTTP servlet response object.
    • getServletContext

      jakarta.servlet.ServletContext getServletContext()
      Gets the servlet context.
      Returns:
      the servlet context.
    • getContextMap

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