org.apache.struts2.interceptor
接口 RequestAware


public interface RequestAware

Actions that want access to the current serlvet request attributes should implement this interface.

This interface is only relevant if the Action is used in a servlet environment.


方法摘要
 void setRequest(Map<String,Object> request)
          Sets the Map of request attributes in the implementing class.
 

方法详细信息

setRequest

void setRequest(Map<String,Object> request)
Sets the Map of request attributes in the implementing class.

参数:
request - a Map of HTTP request attribute name/value pairs.