Class InvocationImpl
java.lang.Object
org.infinispan.rest.framework.impl.InvocationImpl
- All Implemented Interfaces:
Invocation
- Since:
- 10.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returns the associated action (request parameter) or null.getName()
The user-friendly name of the invocationhandler()
Return the function to execute the invocation.methods()
Returns one or more methods supported.paths()
Returns one or more paths associated with the invocation.boolean
Verify whether the invocation requires the cache manager to be started.toString()
-
Method Details
-
getAction
Description copied from interface:Invocation
Returns the associated action (request parameter) or null.- Specified by:
getAction
in interfaceInvocation
-
methods
Description copied from interface:Invocation
Returns one or more methods supported.- Specified by:
methods
in interfaceInvocation
-
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 interfaceInvocation
-
getName
Description copied from interface:Invocation
The user-friendly name of the invocation- Specified by:
getName
in interfaceInvocation
-
handler
Description copied from interface:Invocation
Return the function to execute the invocation.- Specified by:
handler
in interfaceInvocation
-
anonymous
public boolean anonymous()- Specified by:
anonymous
in interfaceInvocation
- Returns:
- true whether the invocation can be done anonymously (without auth)
-
permission
- Specified by:
permission
in interfaceInvocation
- Returns:
- the required permission for this invocation when authorization is enabled
-
auditContext
- Specified by:
auditContext
in interfaceInvocation
-
requireCacheManagerStart
public boolean requireCacheManagerStart()Description copied from interface:Invocation
Verify whether the invocation requires the cache manager to be started.- Specified by:
requireCacheManagerStart
in interfaceInvocation
- Returns:
true
means the cache manager must be running.false
, otherwise.
-
deprecated
public boolean deprecated()- Specified by:
deprecated
in interfaceInvocation
- Returns:
- true if the invocation is deprecated
-
toString
-