Package org.apache.struts2.config.entities

# Class AllowedMethods

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

public class AllowedMethods extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static AllowedMethods`
  `build(boolean strictMethodInvocation, Set<String> methods, String defaultRegex)`
  `boolean`
  `equals(Object o)`
  `String`
  `getDefaultRegex()`
  `int`
  `hashCode()`
  `boolean`
  `isAllowed(String method)`
  `boolean`
  `isStrictMethodInvocation()`
  `Set<String>`
  `list()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## 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`