com.opensymphony.xwork2.config.entities

## Class AllowedMethods

- java.lang.Object
- - com.opensymphony.xwork2.config.entities.AllowedMethods

-     public class AllowedMethods
      extends Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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 Detail

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

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.