Package io.inversion.action.db
Class DbAction
- All Implemented Interfaces:
Comparable<DbAction>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.inversion.Rule
Rule.RuleMatcher -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DbDeleteActionprotected DbGetActionprotected DbPatchActionprotected DbPostActionprotected DbPutActionFields inherited from class io.inversion.Rule
configMap, configStr, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride this method with your custom business logic or override one of the http method "doMETHOD" specific handlers.withDeleteAction(DbDeleteAction deleteAction) withGetAction(DbGetAction getAction) withPatchAction(DbPatchAction patchAction) withPostAction(DbPostAction postAction) withPutAction(DbPutAction putAction) Methods inherited from class io.inversion.Rule
checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludePaths, getConfig, getConfig, getConfigKeys, getDefaultIncludeMatch, getExcludeMatchers, getIncludeMatchers, getName, getOrder, match, matches, matches, toString, withConfig, withExcludeOn, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withIncludeOn, withName, withOrder
-
Field Details
-
getAction
-
postAction
-
putAction
-
patchAction
-
deleteAction
-
-
Constructor Details
-
DbAction
public DbAction()
-
-
Method Details
-
run
Description copied from class:ActionOverride this method with your custom business logic or override one of the http method "doMETHOD" specific handlers.- Overrides:
runin classAction<DbAction>- Parameters:
req- the Request being servicedres- the Reponse being generated- Throws:
ApiException
-
getGetAction
-
withGetAction
-
getPostAction
-
withPostAction
-
getPutAction
-
withPutAction
-
getPatchAction
-
withPatchAction
-
getDeleteAction
-
withDeleteAction
-