Package net.jrouter.http.servlet
Class ServletActionFactory.DefaultServletActionInvocation
java.lang.Object
net.jrouter.support.ActionInvocationDelegate<String>
net.jrouter.http.servlet.ServletActionFactory.DefaultServletActionInvocation
- All Implemented Interfaces:
net.jrouter.ActionInvocation<String>,ServletActionInvocation
- Enclosing interface:
- ServletActionFactory
@Dynamic
public static class ServletActionFactory.DefaultServletActionInvocation
extends net.jrouter.support.ActionInvocationDelegate<String>
implements ServletActionInvocation
扩展
ActionInvocation,提供获取Http参数对象,并提供给参数转换器。-
Field Summary
Fields inherited from class net.jrouter.support.ActionInvocationDelegate
delegate -
Constructor Summary
ConstructorsConstructorDescriptionDefaultServletActionInvocation(net.jrouter.ActionInvocation<String> invocation, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, Map<String, Object> contextMap) -
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 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
-
DefaultServletActionInvocation
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()Description copied from interface:ServletActionInvocationGets the HTTP servlet request object.- Specified by:
getRequestin interfaceServletActionInvocation- Returns:
- the HTTP servlet request object.
-
getSession
public jakarta.servlet.http.HttpSession getSession()Description copied from interface:ServletActionInvocationGets the HTTP servlet session object.- Specified by:
getSessionin interfaceServletActionInvocation- Returns:
- the HTTP servlet session object.
-
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse()Description copied from interface:ServletActionInvocationGets the HTTP servlet response object.- Specified by:
getResponsein interfaceServletActionInvocation- Returns:
- the HTTP servlet response object.
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()Description copied from interface:ServletActionInvocationGets the servlet context.- Specified by:
getServletContextin interfaceServletActionInvocation- Returns:
- the servlet context.
-
getContextMap
Description copied from interface:ServletActionInvocationGet Invocation Context Map.- Specified by:
getContextMapin interfaceServletActionInvocation- Returns:
- the Context Map.
-