jrouter.servlet
接口 ServletActionInvocation

所有超级接口:
jrouter.ActionInvocation<String>
所有已知实现类:
ServletActionFactory.DefaultServletActionInvocation

@Dynamic
public interface ServletActionInvocation
extends jrouter.ActionInvocation<String>

扩展ActionInvocation,返回HTTP Servlet常用参数的接口。


方法摘要
 Map<String,Object> getContextMap()
          Get Invocation Context Map.
 javax.servlet.http.HttpServletRequest getRequest()
          Gets the HTTP servlet request object.
 Map<String,String[]> getRequestParameters()
          Gets the HTTP servlet request parameters.
 javax.servlet.http.HttpServletResponse getResponse()
          Gets the HTTP servlet response object.
 javax.servlet.ServletContext getServletContext()
          Gets the servlet context.
 javax.servlet.http.HttpSession getSession()
          Gets the HTTP servlet session object.
 
从接口 jrouter.ActionInvocation 继承的方法
getActionFactory, getActionPath, getActionProxy, getConvertParameters, getInvokeResult, getParameterConverter, getParameters, getResult, invoke, invokeActionOnly, isExecuted, setConvertParameters, setInvokeResult, setParameterConverter, setResult
 

方法详细信息

getRequest

javax.servlet.http.HttpServletRequest getRequest()
Gets the HTTP servlet request object.

返回:
the HTTP servlet request object.

getSession

javax.servlet.http.HttpSession getSession()
Gets the HTTP servlet session object.

返回:
the HTTP servlet session object.

getRequestParameters

Map<String,String[]> getRequestParameters()
Gets the HTTP servlet request parameters.

返回:
the HTTP servlet request parameters.

getResponse

javax.servlet.http.HttpServletResponse getResponse()
Gets the HTTP servlet response object.

返回:
the HTTP servlet response object.

getServletContext

javax.servlet.ServletContext getServletContext()
Gets the servlet context.

返回:
the servlet context.

getContextMap

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

返回:
the Context Map.


Copyright © 2017. All rights reserved.