Class ConfluenceMethodAccessor
- java.lang.Object
-
- ognl.ObjectMethodAccessor
-
- com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
-
- com.atlassian.confluence.impl.struts.ConfluenceMethodAccessor
-
- All Implemented Interfaces:
ognl.MethodAccessor
public class ConfluenceMethodAccessor extends com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
- Since:
- 8.5.5
-
-
Constructor Summary
Constructors Constructor Description ConfluenceMethodAccessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
callMethod(Map context, Object target, String methodName, Object[] args)
Object
callStaticMethod(Map context, Class targetClass, String methodName, Object[] args)
static boolean
isPotentialPathTraversal(Object[] args)
-
-
-
Method Detail
-
callMethod
public Object callMethod(Map context, Object target, String methodName, Object[] args) throws ognl.MethodFailedException
- Specified by:
callMethod
in interfaceognl.MethodAccessor
- Overrides:
callMethod
in classcom.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
- Throws:
ognl.MethodFailedException
-
callStaticMethod
public Object callStaticMethod(Map context, Class targetClass, String methodName, Object[] args) throws ognl.MethodFailedException
- Specified by:
callStaticMethod
in interfaceognl.MethodAccessor
- Overrides:
callStaticMethod
in classcom.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
- Throws:
ognl.MethodFailedException
-
isPotentialPathTraversal
public static boolean isPotentialPathTraversal(Object[] args)
-
-