Class InvocationImpl

java.lang.Object
org.infinispan.rest.framework.impl.InvocationImpl
All Implemented Interfaces:
Invocation

public class InvocationImpl extends Object implements Invocation
Since:
10.0
  • Method Details

    • getAction

      public String getAction()
      Description copied from interface: Invocation
      Returns the associated action (request parameter) or null.
      Specified by:
      getAction in interface Invocation
    • methods

      public Set<Method> methods()
      Description copied from interface: Invocation
      Returns one or more methods supported.
      Specified by:
      methods in interface Invocation
    • paths

      public Set<String> paths()
      Description copied from interface: Invocation
      Returns one or more paths associated with the invocation. Paths can be constant, e.g. /a/b/c or use variables such as /a/{var1}/{var2}.
      Specified by:
      paths in interface Invocation
    • getName

      public String getName()
      Description copied from interface: Invocation
      The user-friendly name of the invocation
      Specified by:
      getName in interface Invocation
    • handler

      Description copied from interface: Invocation
      Return the function to execute the invocation.
      Specified by:
      handler in interface Invocation
    • anonymous

      public boolean anonymous()
      Specified by:
      anonymous in interface Invocation
      Returns:
      true whether the invocation can be done anonymously (without auth)
    • permission

      public AuthorizationPermission permission()
      Specified by:
      permission in interface Invocation
      Returns:
      the required permission for this invocation when authorization is enabled
    • auditContext

      public AuditContext auditContext()
      Specified by:
      auditContext in interface Invocation
    • requireCacheManagerStart

      public boolean requireCacheManagerStart()
      Description copied from interface: Invocation
      Verify whether the invocation requires the cache manager to be started.
      Specified by:
      requireCacheManagerStart in interface Invocation
      Returns:
      true means the cache manager must be running. false, otherwise.
    • deprecated

      public boolean deprecated()
      Specified by:
      deprecated in interface Invocation
      Returns:
      true if the invocation is deprecated
    • toString

      public String toString()
      Overrides:
      toString in class Object