Class AbstractAwareInterceptor
java.lang.Object
com.atlassian.confluence.setup.struts.AbstractAwareInterceptor
- All Implemented Interfaces:
Serializable,org.apache.struts2.interceptor.Interceptor
- Direct Known Subclasses:
BootstrapAwareInterceptor,CaptchaInterceptor,CommentAwareInterceptor,PageAwareInterceptor,SpaceAwareInterceptor,UserAwareInterceptor
public abstract class AbstractAwareInterceptor
extends Object
implements org.apache.struts2.interceptor.Interceptor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected StringgetParameter(String parameterName) protected ConfluenceUsergetUser()protected booleanhasParameter(String parameterName) voidinit()abstract Stringintercept(org.apache.struts2.ActionInvocation actionInvocation)
-
Constructor Details
-
AbstractAwareInterceptor
public AbstractAwareInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
initin interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
public abstract String intercept(org.apache.struts2.ActionInvocation actionInvocation) throws Exception - Specified by:
interceptin interfaceorg.apache.struts2.interceptor.Interceptor- Throws:
Exception
-
getParameter
-
hasParameter
-
getUser
-