Class ConfluenceMethodAccessor

  • All Implemented Interfaces:
    ognl.MethodAccessor

    public class ConfluenceMethodAccessor
    extends com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
    Since:
    8.5.5
    • Constructor Detail

      • ConfluenceMethodAccessor

        public ConfluenceMethodAccessor()
    • Method Detail

      • callMethod

        public Object callMethod​(Map context,
                                 Object target,
                                 String methodName,
                                 Object[] args)
                          throws ognl.MethodFailedException
        Specified by:
        callMethod in interface ognl.MethodAccessor
        Overrides:
        callMethod in class com.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 interface ognl.MethodAccessor
        Overrides:
        callStaticMethod in class com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor
        Throws:
        ognl.MethodFailedException
      • isPotentialPathTraversal

        public static boolean isPotentialPathTraversal​(Object[] args)