Class AllowedMethods

java.lang.Object
org.apache.struts2.config.entities.AllowedMethods

public class AllowedMethods extends Object
  • Method Details

    • build

      public static AllowedMethods build(boolean strictMethodInvocation, Set<String> methods, String defaultRegex)
    • isAllowed

      public boolean isAllowed(String method)
    • list

      public Set<String> list()
    • getDefaultRegex

      public String getDefaultRegex()
    • isStrictMethodInvocation

      public boolean isStrictMethodInvocation()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object