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 TypeMethodDescriptionbooleanbooleanReturns 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.booleanVerify whether the invocation requires the cache manager to be started.toString()
-
Method Details
-
getAction
Description copied from interface:InvocationReturns the associated action (request parameter) or null.- Specified by:
getActionin interfaceInvocation
-
methods
Description copied from interface:InvocationReturns one or more methods supported.- Specified by:
methodsin interfaceInvocation
-
paths
Description copied from interface:InvocationReturns 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:
pathsin interfaceInvocation
-
getName
Description copied from interface:InvocationThe user-friendly name of the invocation- Specified by:
getNamein interfaceInvocation
-
handler
Description copied from interface:InvocationReturn the function to execute the invocation.- Specified by:
handlerin interfaceInvocation
-
anonymous
public boolean anonymous()- Specified by:
anonymousin interfaceInvocation- Returns:
- true whether the invocation can be done anonymously (without auth)
-
permission
- Specified by:
permissionin interfaceInvocation- Returns:
- the required permission for this invocation when authorization is enabled
-
auditContext
- Specified by:
auditContextin interfaceInvocation
-
requireCacheManagerStart
public boolean requireCacheManagerStart()Description copied from interface:InvocationVerify whether the invocation requires the cache manager to be started.- Specified by:
requireCacheManagerStartin interfaceInvocation- Returns:
truemeans the cache manager must be running.false, otherwise.
-
deprecated
public boolean deprecated()- Specified by:
deprecatedin interfaceInvocation- Returns:
- true if the invocation is deprecated
-
toString
-