Package io.inversion.action.hateoas
Class LinksFilter
- All Implemented Interfaces:
Comparable<LinksFilter>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.inversion.Rule
Rule.RuleMatcher -
Field Summary
Fields inherited from class io.inversion.Rule
ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelfLink(io.inversion.json.JSMap entityNode, String link) protected voidremoveLinks(Collection coll, io.inversion.json.JSMap node) voidOverride this method with your custom business logic or override one of the http method "doMETHOD" specific handlers.Methods inherited from class io.inversion.action.hateoas.HATEOASFilter
addLink, addLinksMethods inherited from class io.inversion.Action
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecorationMethods inherited from class io.inversion.Rule
afterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParams
-
Constructor Details
-
LinksFilter
public LinksFilter()
-
-
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<LinksFilter>- Parameters:
req- the Request being servicedres- the Reponse being generated- Throws:
ApiException
-
addSelfLink
- Overrides:
addSelfLinkin classHATEOASFilter<LinksFilter>
-
removeLinks
-