Package net.jrouter.http.servlet
Interface ServletActionInvocation
- All Superinterfaces:
net.jrouter.ActionInvocation<String>
- All Known Implementing Classes:
ServletActionFactory.DefaultServletActionInvocation
扩展
ActionInvocation<String>,返回HTTP Servlet常用参数的接口。-
Method Summary
Modifier and TypeMethodDescriptionGet Invocation Context Map.jakarta.servlet.http.HttpServletRequestGets the HTTP servlet request object.jakarta.servlet.http.HttpServletResponseGets the HTTP servlet response object.jakarta.servlet.ServletContextGets the servlet context.jakarta.servlet.http.HttpSessionGets 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
Get Invocation Context Map.- Returns:
- the Context Map.
-