| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
public abstract class AbstractAwareInterceptor
| Constructor Summary | |
|---|---|
AbstractAwareInterceptor()
 | 
|
| Method Summary | |
|---|---|
 void | 
destroy()
 | 
protected  String | 
getParameter(String parameterName)
 | 
protected  String | 
getSessionAttribute(String key)
Find the session attribute by the specified key, or null if it doesnt exist or if there is no session.  | 
protected  com.atlassian.user.User | 
getUser()
 | 
protected  boolean | 
hasParameter(String parameterName)
 | 
protected  boolean | 
hasSessionAttribute(String key)
Detects if a session attribute exists on the current session.  | 
 void | 
init()
 | 
abstract  String | 
intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
 | 
protected  void | 
setResponseHeader(String name,
                  String value)
Set the value of the specified response header.  | 
protected  void | 
setSessionAttribute(String key,
                    Object value)
Set the session attribute by the specified key to the specified value.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractAwareInterceptor()
| Method Detail | 
|---|
public void destroy()
destroy in interface com.opensymphony.xwork.interceptor.Interceptorpublic void init()
init in interface com.opensymphony.xwork.interceptor.Interceptor
public abstract String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                          throws Exception
intercept in interface com.opensymphony.xwork.interceptor.InterceptorExceptionprotected String getParameter(String parameterName)
protected boolean hasParameter(String parameterName)
protected com.atlassian.user.User getUser()
protected boolean hasSessionAttribute(String key)
key - the key of the attribute to check for
protected String getSessionAttribute(String key)
key - the key to look find the attribute by
protected void setSessionAttribute(String key,
                                   Object value)
key - the key to look find the attribute byvalue - the value to set the attribute to
protected void setResponseHeader(String name,
                                 String value)
name - the name of the header itemvalue - the value of the header item
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||