Wiki source code of Aware Interfaces
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Aware Interfaces = | ||
2 | |||
3 | The following are all the Struts2 Aware Interfaces (current as of version 2.3.4). All interfaces can be found in the //org.apache.struts2.interceptor// package of the sruts2-core-2.x.x.jar with the exception of the ServeletContextAware interceptor which in found in the //org.apache.struts2.util// package. | ||
4 | |||
5 | * ApplicationAware | ||
6 | * CookiesAware | ||
7 | * RequestAware | ||
8 | * ParameterAware | ||
9 | * PrincipalAware | ||
10 | * ServeletContextAware | ||
11 | * ServletRequestAware | ||
12 | * ServletResponseAware | ||
13 | * SessionAware | ||
14 | |||
15 | |||
16 | == ApplicationAware == | ||
17 | |||
18 | public void setApplication(Map<String, Object> application); | ||
19 | |||
20 | == CookiesAware == | ||
21 | |||
22 | public void setCookiesMap(Map<String, String> cookies); | ||
23 | |||
24 | == RequestAware == | ||
25 | |||
26 | public void setRequest(Map<String, Object> request); | ||
27 | |||
28 | == ParameterAware == | ||
29 | |||
30 | public void setParameters(Map<String, String[]> parameters); | ||
31 | |||
32 | == PrincipalAware == | ||
33 | |||
34 | public void setPrincipalProxy(PrincipalProxy principalProxy); | ||
35 | |||
36 | == ServeletContextAware == | ||
37 | |||
38 | public void setServletContext(ServletContext context); | ||
39 | |||
40 | == ServletRequestAware == | ||
41 | |||
42 | public void setRequest(Map<String, Object> request); | ||
43 | |||
44 | == ServletResponseAware == | ||
45 | |||
46 | public void setServletResponse(HttpServletResponse response); | ||
47 | |||
48 | == SessionAware == | ||
49 | |||
50 | public void setSession(Map<String, Object> session); |