Class RestGuardList.Builder

java.lang.Object
org.apache.juneau.rest.server.guard.RestGuardList.Builder
Enclosing class:
RestGuardList

public static class RestGuardList.Builder extends Object
Builder class.
  • Constructor Details

    • Builder

      protected Builder(BeanStore beanStore)
      Constructor.
      Parameters:
      beanStore - The bean store to use for creating beans.
  • Method Details

    • beanStore

      public BeanStore beanStore()
      Returns the bean store used by this builder.
      Returns:
      The bean store used by this builder.
    • append

      public RestGuardList.Builder append(Class<? extends RestGuard>... values)
      Appends the specified rest guard classes to the list.
      Parameters:
      values - The values to add.
      Must not be null.
      Returns:
      This object.
    • append

      Appends the specified rest guard objects to the list.
      Parameters:
      values - The values to add.
      Must not be null.
      Returns:
      This object.
    • build

      public RestGuardList build()
      Builds the list.
      Returns:
      A new RestGuardList.