Package io.inversion.action.hateoas
Class HALFilter
- java.lang.Object
-
- io.inversion.Rule<A>
-
- io.inversion.Action<A>
-
- io.inversion.Filter<T>
-
- io.inversion.action.hateoas.HATEOASFilter<HALFilter>
-
- io.inversion.action.hateoas.HALFilter
-
- All Implemented Interfaces:
java.lang.Comparable<HALFilter>
public class HALFilter extends HATEOASFilter<HALFilter>
-
-
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 Constructor Description HALFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLink(io.inversion.json.JSMap entityNode, java.lang.String name, java.lang.String link)voidaddSelfLink(io.inversion.json.JSMap entityNode, java.lang.String link)voidrun(Request req, Response res)Override 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
addLinks
-
Methods inherited from class io.inversion.Action
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecoration
-
Methods 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
-
-
-
-
Method Detail
-
run
public void run(Request req, Response res) throws ApiException
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<HALFilter>- Parameters:
req- the Request being servicedres- the Reponse being generated- Throws:
ApiException
-
addLink
public void addLink(io.inversion.json.JSMap entityNode, java.lang.String name, java.lang.String link)- Overrides:
addLinkin classHATEOASFilter<HALFilter>
-
addSelfLink
public void addSelfLink(io.inversion.json.JSMap entityNode, java.lang.String link)- Overrides:
addSelfLinkin classHATEOASFilter<HALFilter>
-
-